Description |
---|
Excerpt |
---|
Sets a two-dimensional - possibly jagged - array of objects as a template data source. |
Signature | ||||
---|---|---|---|---|
| ||||
public virtual void BindData(System.Object[][] arrayData, System.String[] columnNames, System.String dataSourceName, DataBindingProperties property) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Overridable Sub BindData(ByVal arrayData As Object()(), ByVal columnNames As String(), ByVal dataSourceName As String, ByVal [property] As DataBindingProperties) |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
A two-dimensional array of objects to use as the data source. By default, the first dimension corresponds to row and the second to column (that is, Object[row][column]). |
Param | ||||
---|---|---|---|---|
| ||||
The names of the columns to get from the data source. If the |
Param | ||||
---|---|---|---|---|
| ||||
The name of the set of data markers at which to insert the values imported from the data source. |
Param | ||||
---|---|---|---|---|
| ||||
The DataBindingProperties object which contains information about how the data should be bound to the template. |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
|
Exception | ||||
---|---|---|---|---|
| ||||
|
Exception | ||||
---|---|---|---|---|
| ||||
Remarks |
---|
You can set several data sources for a single template. Use the following methods to set template data sources: BindCellData, BindColumnData, BindRowData, and BindData. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|