some DataSet discoveries
I needed to clone an existing Dataset into a new one today and was faced with two choices which the DataSet provided me :
1) DataSet.Clone()
2) DataSet.Copy()
As usual Google came to the rescue and and I found out the following :
The Clone() method copies the structure of the DataSet, including all DataTable schemas, Relations and Constraints. But it does not copy any data.
The Copy() method copies both structure and Data.
More info here.
Another thing was the difference between DataSet.Clear() and DataSet.Reset()
Found out that Clear() just removes data, whereas Reset removes Data, Tables and Relations.