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,390
  • 1
  • 16
  • 40
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
  • 37,937
  • 11
  • 96
  • 131
1

Look This Tutorial Linq to XML:

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

Harshit Tailor
  • 3,127
  • 5
  • 25
  • 39