InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.8 Assembly / C1.Win.C1InputPanel Namespace / C1InputPanel Class / DataMember Property

In This Topic
    DataMember Property (C1InputPanel)
    In This Topic
    Gets or sets the specific list in a DataSource object that the panel should display.
    Syntax
    'Declaration
     
    Public Property DataMember As String
    public string DataMember {get; set;}
    Remarks

    If a DataSource contains multiple sources of data, you should set the DataMember property to one of the sources.

    For example, if the DataSource is a System.Data.DataSet contains three tables named Customers, Orders, and OrderDetails, you must specify one of the tables to bind to.

    If the System.Data.DataSet contains only one System.Data.DataTable, you may set the DataMember property to an empty string.

    See Also