ListView::IDataBoundControl::DataKeyNames Property
.NET Framework (current version)
Gets or sets an array that contains the names of the primary-key fields of the items that are displayed in a data-bound control.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
private: property array<String^>^ DataKeyNames { virtual array<String^>^ get() sealed = IDataBoundControl::DataKeyNames::get; virtual void set(array<String^>^ value) sealed = IDataBoundControl::DataKeyNames::set; }
Property Value
Type: array<System::String^>^An array that contains the names of the primary-key fields of the items that are displayed in a data-bound control.
Implements
IDataBoundControl::DataKeyNamesThis member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IDataBoundControl interface.
.NET Framework
Available since 4.0
Available since 4.0
Show: