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 data from a

Msdn
System.Data.DataTable
System.Data.DataTable
1DataTable
into a Table at the point of this Element in the document. Also accepts a DataImportProperties object that contains the options for importing.

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

Contains the data to be imported.

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(dt, importProps);
Code Block
vbnet
vbnet
titlevb.net
Dim tbl As Table = e.ImportData(dt, importProps)