편집

다음을 통해 공유


GridView.SelectedPersistedDataKey Property

Definition

Gets or sets the data-key value for the persisted selected item in a GridView control.

public:
 virtual property System::Web::UI::WebControls::DataKey ^ SelectedPersistedDataKey { System::Web::UI::WebControls::DataKey ^ get(); void set(System::Web::UI::WebControls::DataKey ^ value); };
[System.ComponentModel.Browsable(false)]
public virtual System.Web.UI.WebControls.DataKey SelectedPersistedDataKey { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectedPersistedDataKey : System.Web.UI.WebControls.DataKey with get, set
Public Overridable Property SelectedPersistedDataKey As DataKey

Property Value

The data key for the persisted selected item in a GridView control. The default is null, which indicates that no item is currently selected.

Attributes

Applies to