This topic has not yet been rated - Rate this topic

IDataBoundControl Interface

Defines properties that are shared by data-bound controls.

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

The IDataBoundControl type exposes the following members.

  NameDescription
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.
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.
Public propertyDataSourceGets or sets the object from which the data-bound control retrieves a list of data items.
Public propertyDataSourceIDGets or sets the ID of the data source control from which the data-bound control retrieves a list of data items.
Public propertyDataSourceObjectGets the data source object from which the data-bound control retrieves a list of data items.
Top

This interface provides access to properties shared by data-bound controls, such as the GridView, ListView, FormView and DetailsView controls.

.NET Framework

Supported in: 4.5, 4

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.