BaseDataListDesigner.DataKeyField Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value of the data key field of the associated control.
public:
property System::String ^ DataKeyField { System::String ^ get(); void set(System::String ^ value); };
public string DataKeyField { get; set; }
member this.DataKeyField : string with get, set
Public Property DataKeyField As String
Property Value
The DataKeyField value of the associated control.
Remarks
The DataKeyField property provides access from the designer to the DataKeyField property of the associated control that is derived from the BaseDataList class. The DataKeyField indicates the primary key of the data source that is bound to the associated control.