MergeDataTable

Merges the given DataTable and the current DataTable.

Syntax

int mergeDataTable(DataTable* dataTable ,DataTable* other ) 

Parameter

  • Datatable - the DataTable to which this function applies
  • Other DataTable to be merged with the current DataTable

Results

Returns 0 if successful or error code.

Example

// Assume that dataTable and otherDataTable are given here
mergeDataTable (dataTable ,otherDataTableDataRow)