Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDataBoundItemControl Interface

.NET Framework 4.6 and 4.5

Exposes the properties that are used to display a single item in a data-bound control.

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

'Declaration
Public Interface IDataBoundItemControl _
	Inherits IDataBoundControl

The IDataBoundItemControl type exposes the following members.

  NameDescription
Public propertyDataKeyGets the object that represents the data-key value of the row in 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 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 propertyModeGets the current mode of a data-bound control.
Top

This interface provides properties that are used to display a single item in the FormView and DetailsView data-bound controls.

.NET Framework

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