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

In This Topic
    SetDataBinding(Object,String,Boolean) 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, _
       ByVal holdFields As System.Boolean _
    ) 
    public void SetDataBinding( 
       System.object dataSource,
       System.string dataMember,
       System.bool holdFields
    )

    Parameters

    dataSource
    Source of the data
    dataMember
    The table to bind to within the object returned by the DataSource property
    holdFields
    True to preserve design time layout
    See Also