ListView.IPersistedSelector.DataKey Property

 

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)

DataKey IPersistedSelector.DataKey { 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: