Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Data
DataSet Class
DataSet Methods
Merge Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
DataSet.Merge Method

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

Name Description
DataSet.Merge (DataRow[]) Merges an array of DataRow objects into the current DataSet.

Supported by the .NET Compact Framework.

DataSet.Merge (DataSet) Merges a specified DataSet and its schema into the current DataSet.

Supported by the .NET Compact Framework.

DataSet.Merge (DataTable) Merges a specified DataTable and its schema into the current DataSet.

Supported by the .NET Compact Framework.

DataSet.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.

Supported by the .NET Compact Framework.

DataSet.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.

Supported by the .NET Compact Framework.

DataSet.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.

Supported by the .NET Compact Framework.

DataSet.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.

Supported by the .NET Compact Framework.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
MissingSchemaAction      Daniel Thomas   |   Edit   |   Show History
When merging, MissingSchemaAction can be very useful if you're user-facing data contains extra information (such as descriptions or other data that does not need to be saved). By setting MissingSchemaAction to Ignore, you merge in only the data that you really want to keep for processing, rather than carrying around extra bits and pieces that are not required.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker