Sets the data source to an |
IDictionary
represents a collection of key-and-value pairs. This method will return only one row of data for the column bound by the datamarker. You must insert a datamarker into the template for each column of data you want shown.
public virtual void BindRowData(System.Collections.IDictionary dataSource, System.String dataSourceName, DataBindingProperties property) |
Public Overridable Sub BindRowData(ByVal dataSource As System.Collections.IDictionary, ByVal dataSourceName As String, ByVal [property] As DataBindingProperties) |
An |
The name of the data marker at which to insert the values imported from the data source. For example, to bind a data source to the data marker %%=Orders.OrderId, the value of dataSourceName should be "Orders". The string passed must begin with a letter. |
The DataBindingProperties object which contains information about how the data should be bound to the template. |
|
You can set several data sources for a single template. Use the following methods to set template data sources: BindCellData, BindColumnData,BindRowData, and BindData. |
|