Description |
---|
Excerpt |
---|
Sets a DataSet as a data source to bind to a row in the template. |
...
This method will |
...
import only |
...
the first row of |
...
the first DataTable of the DataSet. You must insert a datamarker into the template for each column of data you want shown. |
Signature | ||||
---|---|---|---|---|
| ||||
public void BindRowData(System.Data.DataSet dataSource, System.String dataSourceName, DataBindingProperties property)
|
Signature | ||||
---|---|---|---|---|
| ||||
Public Sub BindRowData(ByVal dataSource As System.Data.DataSet, ByVal dataSourceName As String, ByVal [property] As DataBindingProperties)
|
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The DataSet to use as the data source. |
...
Param | ||||
---|---|---|---|---|
| ||||
The DataBindingProperties object which contains information about how the data should be bound to the template. |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
|
Exception | ||||
---|---|---|---|---|
| ||||
Remarks |
---|
Only the first row of the DataSet will be used. This method is commonly used to create a set of key-value pairs via a single row of data. 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 | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
...
|
...
|
...
|
...
|