TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / BindingInfo Class / DataMember Property

In This Topic
    DataMember Property (BindingInfo)
    In This Topic
    Gets or sets a name of a specific record set within the DataSource.
    Syntax
    'Declaration
     
    
    <C1CategoryAttribute("Data")>
    <C1DescriptionAttribute("BindingInfo.DataMember", "Gets or sets a name of a specific record set within the DataSource.")>
    <EditorAttribute("System.Windows.Forms.Design.DataMemberFieldEditor, System.Design.Core", System.Drawing.Design.UITypeEditor)>
    <DefaultValueAttribute("")>
    Public Property DataMember As String
    [C1Category("Data")]
    [C1Description("BindingInfo.DataMember", "Gets or sets a name of a specific record set within the DataSource.")]
    [Editor("System.Windows.Forms.Design.DataMemberFieldEditor, System.Design.Core", System.Drawing.Design.UITypeEditor)]
    [DefaultValue("")]
    public string DataMember {get; set;}
    Remarks
    You can set the data member for all levels using square brackets: FirstLevel\\[AllOtherLevels]
    See Also