IDataBoundListControl 介面

定義

公開顯示多個資料列之資料繫結控制項的一般屬性。Exposes the common properties of data-bound-controls that display multiple rows.

public interface class IDataBoundListControl : System::Web::UI::WebControls::IDataBoundControl
public interface IDataBoundListControl : System.Web.UI.WebControls.IDataBoundControl
type IDataBoundListControl = interface
    interface IDataBoundControl
Public Interface IDataBoundListControl
Implements IDataBoundControl
衍生
實作

屬性

ClientIDRowSuffix

取得或設定資料欄位的名稱,這些值會附加至 ClientID 屬性,以便識別資料繫結控制項的每一個唯一的執行個體。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.

(繼承來源 IDataBoundControl)
DataKeys

取得 DataKey 物件的集合,表示資料繫結控制項中每個資料列的資料索引鍵值。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.

(繼承來源 IDataBoundControl)
DataSource

取得或設定物件,資料繫結控制項會從這個物件擷取資料項目清單。Gets or sets the object from which the data-bound control retrieves a list of data items.

(繼承來源 IDataBoundControl)
DataSourceID

取得或設定資料來源控制項的 ID,資料繫結控制項會從這個資料來源控制項擷取資料項目清單。Gets or sets the ID of the data source control from which the data-bound control retrieves a list of data items.

(繼承來源 IDataBoundControl)
DataSourceObject

取得資料來源物件,資料繫結控制項會從這個物件擷取資料項目清單。Gets the data source object from which the data-bound control retrieves a list of data items.

(繼承來源 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.

適用於