0

In SQL,suppose we want one record then we use sql query like

select * from table1 where a="1" Similarly, I want to access one record according to condition in xml I mean fetch particular record from xml using asp.net C#

Ghost Answer
  • 1,458
  • 1
  • 17
  • 41
farhat
  • 84
  • 3
  • 8

2 Answers2

1

Take a look at Linq to XML http://broadcast.oreilly.com/2010/10/understanding-c-simple-linq-to.html

It's a way to write linq queries against xml.

More here: LINQ to read XML

Community
  • 1
  • 1
TGH
  • 38,769
  • 12
  • 102
  • 135
1

Look This Tutorial Linq to XML:

http://www.dotnetcurry.com/ShowArticle.aspx?ID=564

Harshit Tailor
  • 3,261
  • 6
  • 27
  • 40