Description
Imports data from an IDataReader to cells in the worksheet. The new data will overwrite values and formulas in the target worksheet cells, but existing formatting will be preserved.
C#
vb.net
Parameters
data
An instance of System.Data.SqlClient.SqlDataReader, System.Data.OleDb.OleDbDataReader or
.
startCell
The cell at which to start entering the imported values.props
A DataImportProperties object that contains a set of properties that will determine the behavior of the data import.Returns
An Area object representing the set of cells populated with the imported values.Examples
C#
vb.net