开发者

Clone of DataSet

开发者 https://www.devze.com 2023-01-13 09:19 出处:网络
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 DataTab

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

精彩评论

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

关注公众号