Description
Imports data from a DataTable into a Table at the point of this Element in the document. Also accepts a DataImportProperties object that contains the options for importing.
C#
public Table ImportData(System.Data.DataTable data, DataImportProperties props)
vb.net
Public Function ImportData(ByVal data As System.Data.DataTable, ByVal props As DataImportProperties) As Table
Parameters
data
Contains the data to be imported.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(dt, importProps);
vb.net
Dim tbl As Table = e.ImportData(dt, importProps)
