What is the Merge method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the Merge method?
Rating:
The Merge method of the DataSet class is used to incorporate the latest changes from a data source into an existing DataSet object. Following are the signatures of the Merge method:
| Overloads Public Sub Merge(DataRow()) | public void Merge(DataRow[]); | It is used to merge a DataSet object with an array of DataRow objects. |
| Overloads Public Sub Merge(DataSet) | public void Merge(DataSet); | It is used to merge a DataSet object with a specified DataSet object. |
| Overloads Public Sub Merge(DataTable) | public void Merge(DataTable); | It is used to merge a DataSet object with a specified DataTable object. |
| Overloads Public Sub Merge(DataSet, Boolean) | public void Merge(DataSet, bool); | It is used to merge a DataSet object with a specified DataSet object. It preserves changes according to the specified argument. |
| Overloads Public Sub Merge(DataRow(), Boolean, MissingSchemaAction) | public void Merge(DataRow[], bool, MissingSchemaAction); | It is used to merge a DataSet object with an array of DataRow objects. It preserves changes according to the specified argument and handles an incompatible schema according to the specified MissingSchemaAction. |
| Overloads Public Sub Merge(DataSet, Boolean, MissingSchemaAction) | public void Merge(DataSet, bool, MissingSchemaAction); | It is used to merge a DataSet object with a specified DataSet object. It preserves changes according to the specified argument and handles an incompatible schema according to the specified MissingSchemaAction. |
| Overloads Public Sub Merge(DataTable, Boolean, MissingSchemaAction) | public void Merge(DataTable, bool, MissingSchemaAction); | It is used to merge a DataSet object with a specified DataTable object. It preserves changes according to the specified argument and handles an incompatible schema according to the specified MissingSchemaAction. |
Rating:
Was this information helpful?
Other articles
- What is an interface?
- What is GROUP BY clause?
- What is the WHERE clause?
- What is synchronous call?
- What is XmlDocument?