| XmlDocument对象如何转换为XmlReader对象 |
作者:孟宪会 发布日期:2006-08-08 17:04:41
|
办法就是:
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.LoadXml("");
System.Xml.XmlReader reader = System.Xml.XmlReader.Create(new System.IO.StringReader(doc.OuterXml));
|
原文地址:http://dotnet.aspx.cc/article/8e3b74fa-fdc6-4448-a7fc-4460767ce472/print.aspx
© 版权所有 【孟宪会之精彩世界】TM 2012