private static DataSet GetDataSetByXmlPath(string path) { DataSet ds = new DataSet(); XmlDocument xdoc = new XmlDocument(); xdoc.Load(path); XmlNodeReader reader = new XmlNodeReader(xdoc); ds.ReadXml(reader); return ds; }
2023-10-08 16:41:16
private static DataSet GetDataSetByXmlPath(string path) { DataSet ds = new DataSet(); XmlDocument xdoc = new XmlDocument(); xdoc.Load(path); XmlNodeReader reader = new XmlNodeReader(xdoc); ds.ReadXml(reader); return ds; }