Description |
---|
...
Wiki Markup |
---|
{description} {excerpt}Imports data from an {msdn:System.Data.IDataReader |
...
Signature | ||
---|---|---|
C# | C# | |IDataReader} to the specified [Area|Area]. The new data will +overwrite+ values and formulas in the target worksheet cells, but existing formatting will be preserved.{excerpt}
{signature:C#}
public Area ImportData(System.Data.IDataReader data, DataImportProperties props)
|
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Function ImportData(ByVal data As System.Data.IDataReader, ByVal props As DataImportProperties) As Area
|
Parameters |
---|
Param | |||
---|---|---|---|
data | data | An instance of Msdn | {signature} {parameters} {param:data}An instance of {msdn:System.Data.SqlClient.SqlDataReader |System.Data.SqlClient.SqlDataReader |
1 | System.Data.SqlClient.SqlDataReader | ||
Msdn | |||
1 | System.Data.OleDb.OleDbDataReader | ||
Code Block | |||
Param | props | props | |
A DataImportProperties object that contains a set of properties that will determine the behavior of the data import. |
Returns |
---|
An |
Example | |||
---|---|---|---|
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vbnet | vbnet | title |
...
{code}
{example}
{scrollbar} |