日期:2014-05-18 浏览次数:20779 次
public static DataSet ConvertXmlToDataSet(Stream XMldata) { XmlTextReader xmlReader = null; StringReader reader = null; try { DataSet xmlDs = new DataSet(); [color=#FF0000] xmlDs.ReadXml(XMldata);[/color] return xmlDs; } catch (Exception ex) { return null; } }