IPersistedSelector.DataKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the data-key value for the selected record in a data-bound control.
public:
property System::Web::UI::WebControls::DataKey ^ DataKey { System::Web::UI::WebControls::DataKey ^ get(); void set(System::Web::UI::WebControls::DataKey ^ value); };
public System.Web.UI.WebControls.DataKey DataKey { get; set; }
member this.DataKey : System.Web.UI.WebControls.DataKey with get, set
Public Property DataKey As DataKey
Property Value
The data-key value for the selected record in a data-bound control.
Remarks
The DataKey property differs from the default selection made by the data-bound control because the item selected can be persisted across paging and the item may not be on the current page.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.