InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.8 Assembly / C1.Win.C1InputPanel Namespace / C1InputPanel Class / SetDataBinding Method
The data source for the C1InputPanel control.
The DataMember string that specifies the table to bind to within the object returned by the DataSource property.
If True, the C1InputPanel will be populated with bound input components.

In This Topic
    SetDataBinding Method (C1InputPanel)
    In This Topic
    Sets the DataSource and DataMember properties at run time. Also, may populate the C1InputPanel with the bound input components.
    Syntax
    'Declaration
     
    Public Sub SetDataBinding( _
       ByVal dataSource As Object, _
       ByVal dataMember As String, _
       ByVal populate As Boolean _
    ) 
    public void SetDataBinding( 
       object dataSource,
       string dataMember,
       bool populate
    )

    Parameters

    dataSource
    The data source for the C1InputPanel control.
    dataMember
    The DataMember string that specifies the table to bind to within the object returned by the DataSource property.
    populate
    If True, the C1InputPanel will be populated with bound input components.
    See Also