DataSet.Copy() :
- It copies both structure and Data.
- Methods copies all the Dataset including it's datatables schemas, constraints along with the data.
DataSet s;
DataSet s1;
s1= s.Copy();
DataSet.Clone() :
- It only copies structure, doesn't copy Data.
- Copies only structure of the dataset. It includes all datatable schemas their contraints and excluding data in those datatables.
DataSet s;
DataSet s1;
s1= s.Clone();
No comments:
Post a Comment