XML格式的字符串,如何读取?
<LoginInfo>
<accountName>HK</accountName>
<loginDate>2011/1/1</loginDate>
<loginIp>192.168.0.1</loginIp>
<UserInfo>
<userId>101</userId>
<userCode>102</userCode>
<userName>Lucy</userName>
</UserInfo>
</LoginInfo>
XML格式的字符串,如何读取所有节点的值?
或转为一个DataSet?
------解决方案--------------------http://blog.csdn.net/chinacsharper/article/details/9246627
http://blog.csdn.net/chinacsharper/article/details/16824427
http://blog.csdn.net/chinacsharper/article/details/17268167
------解决方案--------------------xmldocument或linq的xdocument读取,然后自己插入到dataset中