IDataBoundListControl.DataKeys Property

Definition

Gets a collection of DataKey objects that represent the data key value of each row in a data-bound control.

C#
public System.Web.UI.WebControls.DataKeyArray DataKeys { get; }

Property Value

A collection of data-key objects that contains the data-key value of each row in a data-bound control.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1