{description}
{excerpt}Imports the data from a DataReader into a [Table|Table] at the point of the current element in the document.{excerpt}
{signature:C#}
 public Table ImportData(System.Data.IDataReader data)
{signature}{signature:vb.net}
Public Function ImportData(ByVal data As System.Data.IDataReader) As Table
{signature}
{parameters}
{param:data}DataReader to import the data from.{param}
{returns}The {{Table}} that the data was imported into.{returns}
{example}{code:csharp|title=C#}
Table tbl = e.ImportData(dr);{code}
{code:vb.net|title=vb.net}
Dim tbl As Table = e.ImportData(dr){code}

{example}