使用rss + c# [英] working with rss + c#
本文介绍了使用rss + c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试读入 DataSet
like:
ds.readxml(rsspath)
我在DataSet中得到一些表。现在我如何知道哪个表包含所有产品的确切数据?
如果我写下来,我没有得到产品列表:
gv.datasource = ds.tables [0]
任何帮助或建议? / p>
解决方案
XmlDocument + XPath或Linq2Xml应该是更好的处理数据的方式
Hi I'm trying to working with RSS feeds in C#. I added RSS feeds like
When I try to read into a DataSet
like:
ds.readxml(rsspath)
I get some tables in a DataSet. Now how do I know which table contains exact data of all the products?
I'm not getting products list if I write:
gv.datasource = ds.tables[0]
Any help or suggestions?
解决方案
XmlDocument+ XPath or Linq2Xml should be a better way of handling the data
这篇关于使用rss + c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文