dotConnect for Dynamics 365 Documentation
Devart.Common Namespace / DbLoader Class / LoadTable Method / LoadTable(DataTable,IColumnMappingCollection) Method
The DataTable object to obtain data from.
Column mappings used to match table columns to data source table columns. If this argument is null, the DataTable columns names are used.

LoadTable(DataTable,IColumnMappingCollection) Method
Loads data into the table from the specified DataTable.
Syntax
'Declaration
 
Public Overloads Sub LoadTable( _
   ByVal table As DataTable, _
   ByVal columnMappings As IColumnMappingCollection _
) 
 

Parameters

table
The DataTable object to obtain data from.
columnMappings
Column mappings used to match table columns to data source table columns. If this argument is null, the DataTable columns names are used.
Remarks
Loader can be in either opened or closed state. This method closes the loading session, so all rows are flushed to the table.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also