>// Create a file name to write to. >string filename = "myXmlDoc.xml"; >// Write to the file with the WriteXml method. >MyDataSet.WriteXml(filename,,XmlWriteMode.WriteSchema); >