How to get an xml node element value using XDocument?

Posted by Krishnan on Stack Overflow See other posts from Stack Overflow or by Krishnan
Published on 2012-11-27T11:02:42Z Indexed on 2012/11/27 11:03 UTC
Read the original article Hit count: 290

Filed under:
|

Here I am listing an xml. < ? xml version="1.0" encoding="utf-8" ? > < data> < dataitem>qqqqqqq< / dataitem> < templatedata> < Year>2001< /Year> < /templatedata> < mailmergedata> < row> < facilityname>ABC Corporation< /facilityname> < dueamount>200.00< /dueamount> < /row> < row> < facilityname>XYZ Corporation< /facilityname> < DueAmount>50.00< /DueAmount> < /row> < /mailmergedata> < /data>

I want to retrive the value of the node facilityname Anybody pls help Thanks & Regards

Krishnan

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about Xml