XML文件转为DataSet
private static DataSet XMLToDataset() { string strDBXMLFile = @"F:\DB\DBTEST.XML"; DataSet dsXML = new DataSet(); dsXML.ReadXml(strDBXMLFile); //某个节点名称的所有节点 DataTable dtOneNote = dsXML.Tables["SMT"]; return dsXML; }
2023-12-06 08:01:16
XML文件转为DataSet
private static DataSet XMLToDataset() { string strDBXMLFile = @"F:\DB\DBTEST.XML"; DataSet dsXML = new DataSet(); dsXML.ReadXml(strDBXMLFile); //某个节点名称的所有节点 DataTable dtOneNote = dsXML.Tables["SMT"]; return dsXML; }
下一篇:CF840D Destiny