dataset导入导出xml

dataset导入xml

 

DataSet dt = BLL.TestClass.Getusers();
dt.WriteXml("d:/xml.xml", XmlWriteMode.WriteSchema);

xml导入dataset

  DataSet dsNew = new DataSet();
dsNew.ReadXml("d:/xml.xml");
 

你可能感兴趣的