activities
latest
false
UiPath logo, featuring letters U and I in white
Workflow Activities
Last updated Nov 13, 2024

MergeDataTable

Merges the Destination with the Source, indicating whether to preserve changes and how to handle missing schema in the Source.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

Overloads

  
MergeDataTable(DataTable, DataTable)Merges the Destination with the Source.
MergeDataTable(DataTable, DataTable, MissingSchemaAction)Merges the Destination with the Source, indicating whether to preserve changes and how to handle missing schema in the Source.

MergeDataTable(DataTable, DataTable)

Merges the Destination with the Source.

void MergeDataTable(
	DataTable sourceDataTable,
	ref DataTable destinationDataTable
)void MergeDataTable(
	DataTable sourceDataTable,
	ref DataTable destinationDataTable
)
sourceDataTable DataTable
The DataTable object to be added to the destination DataTable.
destinationDataTable DataTable
The DataTable object to which the source DataTable is merged.

MergeDataTable(DataTable, DataTable, MissingSchemaAction)

Merges the Destination with the Source, indicating whether to preserve changes and how to handle missing schema in the Source.

void MergeDataTable(
	DataTable sourceDataTable,
	ref DataTable destinationDataTable,
	MissingSchemaAction missingSchemaAction
)void MergeDataTable(
	DataTable sourceDataTable,
	ref DataTable destinationDataTable,
	MissingSchemaAction missingSchemaAction
)
sourceDataTable DataTable
The DataTable object to be added to the destination DataTable.
destinationDataTable DataTable
The DataTable object to which the source DataTable is merged.
missingSchemaAction MissingSchemaAction
Specifies the action to take when merging the two DataTables. The options are:
  • Add
  • Ignore
  • Error
  • AddWithKey

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.