Create Clone Of Dataset
Join the DZone community and get the full member experience.Join For Free
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();
Opinions expressed by DZone contributors are their own.