日期:2014-05-17 浏览次数:20487 次
<?xml version="1.0" encoding="GB2312"?>
<check>
<Third1 Name="txTime">2013-06-05</Third1>
<Third2 Name="No">K23675</Third2>
<Third2 Name="List">22233334444</Third2>
</check>
Stream stream = new MemoryStream(Encoding.ASCII.GetBytes(strXML));
DataSet ds = new DataSet();
ds.ReadXml(stream);
Stream stream = new MemoryStream(Encoding.Default.GetBytes(strXML));