True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid.BaseGrid Namespace / Frame Class / SetDataBinding Method / SetDataBinding(Object,String) Method
Source of the data
The table to bind to within the object returned by the DataSource property

In This Topic
    SetDataBinding(Object,String) Method
    In This Topic
    Binds the grid at runtime
    Syntax
    'Declaration
     
    Public Overloads Sub SetDataBinding( _
       ByVal dataSource As System.Object, _
       ByVal dataMember As System.String _
    ) 
    public void SetDataBinding( 
       System.object dataSource,
       System.string dataMember
    )

    Parameters

    dataSource
    Source of the data
    dataMember
    The table to bind to within the object returned by the DataSource property
    Remarks
    The call to SetDataBinding(object dataSource, string dataMember) assumes false for the holdFields arguments.
    See Also