DetailsView::IDataBoundControl::DataKeyNames Property

.NET Framework (current version)
 

For a description of this property, see IDataBoundControl::DataKeyNames.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.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.

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

.NET Framework
Available since 4.0
Return to top
Show: