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
Create Clone Of Dataset
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();