Export (0) Print
Expand All

BaseDataListDesigner.DataKeyField Property

Gets or sets the value of the data key field of the associated control.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public string DataKeyField { get; set; }
/** @property */
public String get_DataKeyField ()

/** @property */
public void set_DataKeyField (String value)

public function get DataKeyField () : String

public function set DataKeyField (value : String)

Not applicable.

Property Value

The DataKeyField value of the associated control.

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft