Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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.

Signature
C#
C#
 public Table ImportData(System.Data.IDataReader data, DataImportProperties props)
Signature
vb.net
vb.net
Public Function ImportData(ByVal data As System.Data.IDataReader, ByVal props As DataImportProperties) As Table
Parameters
Param
data
data

DataReader to import the data from.

Param
props
props

Import properties for this data import, including max rows, max columns, column filter, etc.

Returns

The Table that the data was imported into.

Example
Code Block
csharp
csharp
titleC#
Table tbl = e.ImportData(dr, importProps);
Code Block
vb.net
vb.net
titlevb.net
Dim tbl As table = e.ImportData(dr, importProps)