.NET Framework Class Library
IDataBoundControl Interface
Defines properties that are shared by data-bound controls.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic
Public Interface IDataBoundControl
C#
public interface IDataBoundControl
Visual C++
public interface class IDataBoundControl
F#
type IDataBoundControl = interface end
The IDataBoundControl type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
|
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. |
|
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. |
|
DataSource | Gets or sets the object from which the data-bound control retrieves a list of data items. |
|
DataSourceID | Gets or sets the ID of the data source control from which the data-bound control retrieves a list of data items. |
|
DataSourceObject | Gets the data source object from which the data-bound control retrieves a list of data items. |
Remarks
This interface provides access to properties shared by data-bound controls, such as the GridView, ListView, FormView and DetailsView controls.
Version Information
.NET Framework
Supported in: 4Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also