DataSet.Merge Method

Merges a specified DataSet, DataTable, or array of DataRow objects into the current DataSet or DataTable.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Merge(DataRow[]) Merges an array of DataRow objects into the current DataSet.
Public method Merge(DataSet) Merges a specified DataSet and its schema into the current DataSet.
Public method Merge(DataTable) Merges a specified DataTable and its schema into the current DataSet.
Public method Merge(DataSet, Boolean) Merges a specified DataSet and its schema into the current DataSet, preserving or discarding any changes in this DataSet according to the given argument.
Public method Merge(DataRow[], Boolean, MissingSchemaAction) Merges an array of DataRow objects into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.
Public method Merge(DataSet, Boolean, MissingSchemaAction) Merges a specified DataSet and its schema with the current DataSet, preserving or discarding changes in the current DataSet and handling an incompatible schema according to the given arguments.
Public method Merge(DataTable, Boolean, MissingSchemaAction) Merges a specified DataTable and its schema into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft