Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataKey Property
Collapse the table of content
Expand the table of content

IDataBoundItemControl.DataKey Property

.NET Framework 4.6 and 4.5

Gets the object that represents the data-key value of the row in a data-bound control.

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

'Declaration
ReadOnly Property DataKey As DataKey

Property Value

Type: System.Web.UI.WebControls.DataKey
The object that represents the data-key value of the row in the data-bound control.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft