开发者

How do I retrieve and filter data from XML file Using LINQ? [closed]

开发者 https://www.devze.com 2023-01-18 08:13 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guida开发者_StackOverflownce. Closed 10 years ago.

I am working with Windows form application. In that I retrieve the data from XML and filter needed data from that. I am using for loop which made our application slow. So I like to go with Linq. I need some tutorial and example to retrieve and filter data from XML using Linq. Another question is that , I retrieve and filter data from database. Its also getting slow. Is it possible to speed up process with the help of linq?


Check these:

  1. http://msdn.microsoft.com/en-us/library/bb384460.aspx
  2. http://www.hookedonlinq.com/LINQtoXML5MinuteOverview.ashx
  3. http://www.codeproject.com/KB/linq/LINQtoXML.aspx


you need to XDocument or XElement

0

精彩评论

暂无评论...
验证码 换一张
取 消