dotConnect for FreshBooks Documentation
Devart.Common Namespace / DbLoader Class / LoadTable Method / LoadTable(DataTable,DataRowState) Method
The DataTable object to obtain data from.
The specified row state. Only rows that match it will be copied to the target table.

LoadTable(DataTable,DataRowState) Method
Loads rows that match to the specified row state from the specified DataTable into the table.
Syntax
'Declaration
 
Public Overloads Sub LoadTable( _
   ByVal table As DataTable, _
   ByVal rowState As DataRowState _
) 
 

Parameters

table
The DataTable object to obtain data from.
rowState
The specified row state. Only rows that match it will be copied to the target table.
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