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

属性值

true 如果行选择基于数据键值,则为 ;否则,为 false.

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为GridView接口时IDataBoundListControl,才能使用它。

ASP.NET 动态数据支持此属性。

适用于