Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > Element > ImportData

ImportData Method



Signature:

public Table ImportData ( System.Data.DataView data , DataImportProperties props )

Description:

Imports data from a DataView into a Table at the point of this Element in the document. Also accepts a DataImportProperties object that contains the options for importing.

Parameters:

data     Contains the data to be imported.
props     Import properties for this data import, including max rows, max columns, column filter, etc.

Returns:

Table The Table that the data was imported into.

Examples:

[csharp]
Table tbl = e.ImportData(dv, importProps);
[vbnet]
Dim tbl As Table = e.ImportData(dv, importProps)



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.