Wiki Markup |
---|
{description} {excerpt}Imports the data from a DataReader into a [Table|Table] at the point of the current element in the document. Also accepts a [DataImportProperties|DataImportProperties] object that contains the import options.{excerpt} {signature:C#} public Table ImportData(System.Data.IDataReader data, DataImportProperties props) {signature}{signature:vb.net} Public Function ImportData(ByVal data As System.Data.IDataReader, ByVal props As DataImportProperties) As Table {signature} {parameters} {param:data}DataReader to import the data from.{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(dr, importProps);{code} {code:vb.net|title=vb.net} Dim tbl As table = e.ImportData(dr, importProps){code} {example} |
Page History
Overview
Content Tools