dotConnect for SQLite 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.

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

    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