Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Imports data from a {msdn:System.Data.DataView

...

Signature
C#C#
|DataView} into a [Table|Table] at the point of this [Element|Element] in the document. Also accepts a [DataImportProperties|DataImportProperties] object that contains the options for importing.{excerpt}
{signature:C#}
 public Table ImportData(System.Data.DataView data, DataImportProperties props)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function ImportData(ByVal data As System.Data.DataView, ByVal props As DataImportProperties) As Table
Parameters

...

Contains the data to be imported.

...

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

Returns

The Table that the data was imported into.

{signature}
{parameters}
{param:data}Contains the data to be imported.{param}
{param:props}Import properties for this data import, including max rows, max columns, column filter, etc.{param}
{returns}The {{Table}} that the data was imported into.{returns}
{example}{code:csharp|title=C#}
Table tbl = e.ImportData(dv, importProps);
{code}
{code:vb.net
|title=vb.net
}
Dim tbl As Table = e.ImportData(dv, importProps){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle