Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IDataBoundListControl Interface
Collapse the table of content
Expand the table of content

IDataBoundListControl Interface

.NET Framework 4.6 and 4.5

Exposes the common properties of data-bound-controls that display multiple rows.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public interface IDataBoundListControl : IDataBoundControl

The IDataBoundListControl type exposes the following members.

  NameDescription
Public propertyClientIDRowSuffixGets or sets the names of the data fields whose values are appended to the Control.ClientID property value to uniquely identify each instance of a data-bound control.
Public propertyDataKeyNamesGets or sets an array that contains the names of the primary-key fields of the items that are displayed in a data-bound control. (Inherited from IDataBoundControl.)
Public propertyDataKeysGets a collection of DataKey objects that represent the data key value of each row in a data-bound control.
Public propertyDataMemberGets or sets the name of the list of data that the data-bound control binds to when the data source contains more than one list of data items. (Inherited from IDataBoundControl.)
Public propertyDataSourceGets or sets the object from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public propertyDataSourceIDGets or sets the ID of the data source control from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public propertyDataSourceObjectGets the data source object from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public propertyEnablePersistedSelectionGets or sets a value that indicates whether the selection of a row is based on index or on data-key values.
Public propertySelectedDataKeyGets the object that contains the data-key value for the selected row in a data-bound control.
Public propertySelectedIndexGets or sets the index of the selected row in a data-bound control.
Top

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft