GridView.IDataBoundListControl.EnablePersistedSelection 屬性

定義

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

property bool System::Web::UI::WebControls::IDataBoundListControl::EnablePersistedSelection { bool get(); void set(bool value); };
bool System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection { get; set; }
member this.System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection : bool with get, set
 Property EnablePersistedSelection As Boolean Implements IDataBoundListControl.EnablePersistedSelection

屬性值

Boolean

如果是根據資料索引鍵值選取資料列,則為 true,否則為 false

實作

備註

這個成員是明確介面成員實作, 只有在 GridView 執行個體轉換成 IDataBoundListControl 介面時,才能使用這個成員。

ASP.NET Dynamic Data 支援此屬性。

適用於