This documentation is archived and is not being maintained.
ListView::IPersistedSelector::DataKey Property
Visual Studio 2008
Updated: July 2008
For a description of this member, see IPersistedSelector::DataKey.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
private: virtual property DataKey^ DataKey { DataKey^ get () sealed = IPersistedSelector::DataKey::get; void set (DataKey^ value) sealed = IPersistedSelector::DataKey::set; }
<asp:ListView DataKey="DataKey" />
Property Value
Type: System.Web.UI.WebControls::DataKeyThe data-key value for the selected record in a data-bound control.
Implements
IPersistedSelector::DataKeyThis member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IPersistedSelector interface.
Windows 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: