ComponentOne True DBGrid for WinForms
SetDataBinding(Object,String,Boolean) Method

C1.Win.C1TrueDBGrid.4 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
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

Reference

Frame Class
Frame Members
Overload List