This documentation is archived and is not being maintained.
GridView::IPersistedSelector::DataKey Property
Visual Studio 2008
Updated: July 2008
For a description of this member, see IPersistedSelector::DataKey.
Assembly: System.Web (in System.Web.dll)
private: virtual property DataKey^ DataKey { DataKey^ get () sealed = IPersistedSelector::DataKey::get; void set (DataKey^ value) sealed = IPersistedSelector::DataKey::set; }
<asp:GridView DataKey="DataKey" />
Property Value
Type: System.Web.UI.WebControls::DataKeyThe data-key value for the persisted selected record in a data-bound control.
Implements
IPersistedSelector::DataKeyWindows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: