IDataBoundListControl Interface

Definition

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

C#
public interface IDataBoundListControl : System.Web.UI.WebControls.IDataBoundControl
Derived
Implements

Properties

ClientIDRowSuffix

Gets or sets the names of the data fields whose values are appended to the ClientID property value to uniquely identify each instance of a data-bound control.

DataKeyNames

Gets 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)
DataKeys

Gets a collection of DataKey objects that represent the data key value of each row in a data-bound control.

DataMember

Gets 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)
DataSource

Gets or sets the object from which the data-bound control retrieves a list of data items.

(Inherited from IDataBoundControl)
DataSourceID

Gets or sets the ID of the data source control from which the data-bound control retrieves a list of data items.

(Inherited from IDataBoundControl)
DataSourceObject

Gets the data source object from which the data-bound control retrieves a list of data items.

(Inherited from IDataBoundControl)
EnablePersistedSelection

Gets or sets a value that indicates whether the selection of a row is based on index or on data-key values.

SelectedDataKey

Gets the object that contains the data-key value for the selected row in a data-bound control.

SelectedIndex

Gets or sets the index of the selected row in a data-bound control.

Applies to

Produkt Verzie
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1