asp.net.ph

DataSet.Merge Method ( DataSet, Boolean )

System.Data Namespace   DataSet Class


Merges this DataSet with a specified DataSet preserving changes according to the specified argument.

[ VB ]
Overloads Public Sub Merge ( _
   ByVal dataSet As DataSet, _
   ByVal preserveChanges As Boolean _
)

[ C# ]
public void Merge (
   DataSet dataSet,
   bool preserveChanges
);

[ C++ ]
public: void Merge (
   DataSet* dataSet,
   bool preserveChanges
);

[ JScript ]
public function Merge (
   dataSet : DataSet,
   preserveChanges : Boolean
);

Parameters

dataSet
The DataSet whose data and schema will be merged.
preserveChanges
A value indicating whether changes made to the current DataSet should be maintained. true, if changes should be maintained; otherwise, false.

Remarks

The Merge method is used to merge two DataSet objects that have largely similar schemas. A merge is typically used on a client application to incorporate the latest changes from a data source into an existing DataSet. This allows the client application to have a refreshed DataSet with the latest data from the data source.

For more information, see The DataSet Merge Method and Working with DataSets.

See Also

DataSet Members   DataSet.Merge Overload List   ForeignKeyConstraint   UniqueConstraint Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph