conn
conn
SqlDataAdapter da = new SqlDataAdapter(
SqlCommandBuilder thisBulder = new SqlCommandBuilder(da);
DataSet ds = new DataSet();
da
ds
==============================================================================
private void WriteXmlToFile(DataSet thisDataSet) {
if (thisDataSet == null) { return; }
// Create a file name to write to
string filename =
// Create the FileStream to write with
System
(filename
// Create an XmlTextWriter with the fileStream
System
new System
// Write to the file with the WriteXml method
thisDataSet
myXmlWriter
}
From:http://tw.wingwit.com/Article/program/ASP/201311/21737.html