How do I retrieve and filter data from XML file Using LINQ? [closed]
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:
- http://msdn.microsoft.com/en-us/library/bb384460.aspx
- http://www.hookedonlinq.com/LINQtoXML5MinuteOverview.ashx
- http://www.codeproject.com/KB/linq/LINQtoXML.aspx
you need to XDocument or XElement
精彩评论