[]
Binds the grid at runtime
public void SetDataBinding(object dataSource, string dataMember, bool holdFields, bool keepPosition)
| Type | Name | Description |
|---|---|---|
| object | dataSource | Source of the data |
| string | dataMember | The table to bind to within the object returned by the DataSource property |
| bool | holdFields | True to preserve design time layout |
| bool | keepPosition | True to keep previously expanded groups in GroupBy mode. |
Binds the grid at runtime
public void SetDataBinding(object dataSource, string dataMember, bool holdFields)
| Type | Name | Description |
|---|---|---|
| object | dataSource | Source of the data |
| string | dataMember | The table to bind to within the object returned by the DataSource property |
| bool | holdFields | True to preserve design time layout |
Binds the grid at runtime
public void SetDataBinding(object dataSource, string dataMember)
| Type | Name | Description |
|---|---|---|
| object | dataSource | Source of the data |
| string | dataMember | The table to bind to within the object returned by the DataSource property |
The call to SetDataBinding(object dataSource, string dataMember) assumes false for the holdFields arguments.
Configures the grid for use without a datasource.
public void SetDataBinding()