Gets or sets an array that contains the names of the primary key fields for the items displayed in a C1GridView control.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[C1CategoryAttribute("Category.Data")]
[JsonAttribute(true)]
[DefaultValueAttribute(null)]
[EditorAttribute("C1.Web.UI.Design.UITypeEditors.C1GridViewFieldNamesEditor, C1.Web.UI.Design.2", 
	typeof(UITypeEditor))]
[ThemeableAttribute(false)]
[TypeConverterAttribute(typeof(StringArrayConverter))]
public virtual string[] DataKeyNames { get; set; }
Visual Basic
<C1CategoryAttribute("Category.Data")> _
<JsonAttribute(True)> _
<DefaultValueAttribute(Nothing)> _
<EditorAttribute("C1.Web.UI.Design.UITypeEditors.C1GridViewFieldNamesEditor, C1.Web.UI.Design.2",  _
	GetType(UITypeEditor))> _
<ThemeableAttribute(False)> _
<TypeConverterAttribute(GetType(StringArrayConverter))> _
Public Overridable Property DataKeyNames As String()
	Get
	Set

See Also