You can use the dataSet to save the content to a xml file:
Code:
ds.WriteXml(@"C:\Data.xml");