ListView.IPersistedSelector.DataKey Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the data-key value for the selected record in a data-bound control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

private abstract DataKey : DataKey with get, set
private override DataKey : DataKey with get, set

Property Value

Type: System.Web.UI.WebControls.DataKey

The data-key value for the selected record in a data-bound control.

This member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IPersistedSelector interface.

.NET Framework
Available since 3.5
Return to top
Show: