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

{example}