SetDataBinding(Object,String,Boolean,Boolean) Method
In This Topic
Binds the grid at runtime
Syntax
'Declaration
Public Overloads Sub SetDataBinding( _
ByVal As System.Object, _
ByVal As System.String, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
)
public void SetDataBinding(
System.object ,
System.string ,
System.bool ,
System.bool
)
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
- keepPosition
- True to keep previously expanded groups in GroupBy mode.
See Also