Page tree
Skip to end of metadata
Go to start of metadata

Description

Imports data from an IDataReader to the specified Area. 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

.

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
  • No labels