True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid.BaseGrid Namespace / Frame Class / SetDataSource Method
The new datasource.
The new datamember.
True to force a new binding.

In This Topic
    SetDataSource Method (Frame)
    In This Topic
    Called when the datasource changes.
    Syntax
    'Declaration
     
    Protected Overridable Sub SetDataSource( _
       ByVal datasource As System.Object, _
       ByVal newDisplayMember As System.Windows.Forms.BindingMemberInfo, _
       ByVal force As System.Boolean _
    ) 
    protected virtual void SetDataSource( 
       System.object datasource,
       System.Windows.Forms.BindingMemberInfo newDisplayMember,
       System.bool force
    )

    Parameters

    datasource
    The new datasource.
    newDisplayMember
    The new datamember.
    force
    True to force a new binding.
    See Also