Clone of DataSet
If i mak开发者_运维知识库e clone of DataSet what its means it will give only structure or it will give structure with details.
DataSet.Clone - Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data.
Refer MSDN
If you use DataSet.Copy Method, it copies both the structure and data for this DataSet.
Refer MSDN
Cloning a dataset Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data as Copy method of dataset does. Moewover using Dataset.clone() creates new instance of the same object.
精彩评论