StringReader str = new StringReader(字节流); XmlTextReader xm = new XmlTextReader(str); DataSet ds = new DataSet(); ds.ReadXml(xm);