IDataBoundListControl Interface (System.Web.UI.WebControls)

Switch View :
ScriptFree
.NET Framework Class Library
IDataBoundListControl Interface

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

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

Visual Basic
Public Interface IDataBoundListControl _
	Inherits IDataBoundControl
C#
public interface IDataBoundListControl : IDataBoundControl
Visual C++
public interface class IDataBoundListControl : IDataBoundControl
F#
type IDataBoundListControl =  
    interface
        interface IDataBoundControl
    end

The IDataBoundListControl type exposes the following members.

Properties

  Name Description
Public property ClientIDRowSuffix Gets 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 property 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.)
Public property DataKeys Gets a collection of DataKey objects that represent the data key value of each row in a data-bound control.
Public property 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.)
Public property DataSource Gets or sets the object from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public property 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.)
Public property DataSourceObject Gets the data source object from which the data-bound control retrieves a list of data items. (Inherited from IDataBoundControl.)
Public property EnablePersistedSelection Gets or sets a value that indicates whether the selection of a row is based on index or on data-key values.
Public property SelectedDataKey Gets the object that contains the data-key value for the selected row in a data-bound control.
Public property SelectedIndex Gets or sets the index of the selected row in a data-bound control.
Top
Version Information

.NET Framework

Supported in: 4
Platforms

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

Reference