Xceed Grid for WinForms v4.3 Documentation
DataMember Property (DetailGrid)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > DetailGrid Class : DataMember Property
Gets or sets a specific table in the data source.
Syntax
'Declaration
 
<DescriptionAttribute("The specific table in the data source.")>
<CategoryAttribute("Data")>
<DefaultValueAttribute("")>
<EditorAttribute("System.Windows.Forms.Design.DataMemberListEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.Drawing.Design.UITypeEditor)>
Public Property DataMember As String
'Usage
 
Dim instance As DetailGrid
Dim value As String
 
instance.DataMember = value
 
value = instance.DataMember
[Description("The specific table in the data source.")]
[Category("Data")]
[DefaultValue("")]
[Editor("System.Windows.Forms.Design.DataMemberListEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.Drawing.Design.UITypeEditor)]
public string DataMember {get; set;}

Property Value

A string that specifies the table to bind to within the object returned by the DataSource property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DetailGrid Class
DetailGrid Members
DataSource Property
SetDataBinding Method