WorkbookDesignerSetDataSource Method (String, IDataReader, Int32)

Sets data source of a IDataReader object.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.1.0.0 (20.1)
Syntax
public void SetDataSource(
	string name,
	IDataReader dataReader,
	int rowCount
)

Parameters

name
Type: SystemString
The data source map name.
dataReader
Type: System.DataIDataReader
IDataReader object
rowCount
Type: SystemInt32
The number of the data rows. If the smart marker does not contains "noadd", we have to insert rows by the row count for performance issue and dynamic repeated formulas. -1 means the param is useless.
See Also