从Stream中检索数据 [英] Retrieving data from Stream
本文介绍了从Stream中检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello All,
我正在以流的形式接收数据。这基本上是Xml格式。
Hello All,
I am receiving data in the form of stream. which is basically in Xml format.
<emp>
<id></id>
<name></name>
</emp>
我想读取ID中的数据,如果与DB不匹配则更改它。
我正在将流加载到XmlDocument中,之后我想读取节点值。
你能否建议实施这个
谢谢,
Amit patel
I want to read data which is coming in id and if not matching with DB then change it.
I am loading stream into the XmlDocument and after this I want to read the node value.
can you please suggest to implement this
Thanks,
Amit patel
推荐答案
参见在C#中使用XmlReader类 [ ^ ]。
这篇关于从Stream中检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文