Redigera

Dela via


BaseDataListDesigner.DataKeyField Property

Definition

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.

Applies to

See also