开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜