IDataBoundListControl 介面

定義

公開顯示多個資料列之資料繫結控制項的一般屬性。

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 屬性,以便識別資料繫結控制項的每一個唯一的執行個體。

DataKeyNames

取得或設定陣列,這個陣列包含資料繫結控制項中所顯示項目的主索引鍵欄位名稱。

(繼承來源 IDataBoundControl)
DataKeys

取得 DataKey 物件的集合,表示資料繫結控制項中每個資料列的資料索引鍵值。

DataMember

取得或設定資料清單的名稱,當資料來源包含多個資料項目清單時,資料繫結控制項會繫結至這個資料清單。

(繼承來源 IDataBoundControl)
DataSource

取得或設定物件,資料繫結控制項會從這個物件擷取資料項目清單。

(繼承來源 IDataBoundControl)
DataSourceID

取得或設定資料來源控制項的 ID,資料繫結控制項會從這個資料來源控制項擷取資料項目清單。

(繼承來源 IDataBoundControl)
DataSourceObject

取得資料來源物件,資料繫結控制項會從這個物件擷取資料項目清單。

(繼承來源 IDataBoundControl)
EnablePersistedSelection

取得或設定值,指出是根據索引還是資料索引鍵值來選取資料列。

SelectedDataKey

取得物件,其中包含資料繫結控制項中所選取資料列的資料索引鍵值。

SelectedIndex

取得或設定資料繫結控制項中所選取資料列的索引。

適用於