Description
Imports the data from a DataReader into a Table at the point of the current element in the document. Also accepts a DataImportProperties object that contains the import options.
C#
public Table ImportData(System.Data.IDataReader data, DataImportProperties props)
vb.net
Public Function ImportData(ByVal data As System.Data.IDataReader, ByVal props As DataImportProperties) As Table
Parameters
data
DataReader to import the data from.props
Import properties for this data import, including max rows, max columns, column filter, etc.Returns
TheTable that the data was imported into.
Examples
C#
Table tbl = e.ImportData(dr, importProps);
vb.net
Dim tbl As table = e.ImportData(dr, importProps)
