DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Create Clone Of Dataset

02.01.2012
| 2207 views |
  • submit to reddit
        Following code copies structure of the DataSet, along with datatable relations, constraints and schemas. 
Keep it in mind that it does not copy any data.

 DataSet datasetcolone= mydataset.Clone();