Methods of a DataSet class

Differentiate between the methods Clone() and Copy() of a DataSet class?

E

Expert

Verified

The Clone() method duplicates only structure of the DataSet. The replicated structures comprise all the constraints, relation and DataTable schemas used by a DataSet. This method does not copy data, that is stored in a DataSet.

The Copy() method: It replicates the structure as well as data stored in the DataSet.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.