This documentation is archived and is not being maintained.
BaseDataListDesigner.DataKeyField Property
.NET Framework 1.1
Gets or sets the value of the control's data key field.
[Visual Basic] Public Property DataKeyField As String [C#] public string DataKeyField {get; set;} [C++] public: __property String* get_DataKeyField(); public: __property void set_DataKeyField(String*); [JScript] public function get DataKeyField() : String; public function set DataKeyField(String);
Property Value
The value of the DataKeyField of the list control.
Remarks
The DataKeyField property gets or sets the DataKeyField property of the DataList control that the designer is editing.
Example
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
BaseDataListDesigner Class | BaseDataListDesigner Members | System.Web.UI.Design.WebControls Namespace
Show: