get value from xml

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
hi cold some one help me to sort bellow,
XDocument feedXML = XDocument.Load("http://advertisement.phusemarketing.co.uk/status.xml");
<br/>
var feeds = from feed in feedXML.Descendants("product")<br/>
where feed.Element("code").Value == "N050"<br/>
select new<br/>
{<br/>
status= feed.Element("status").Value,<br/>
};

in that code i am trying to find out the code ="N050" and i need to display the status in to a text box.
now the problem is how do is get the status value ? any idea

thanks


View the full article
 
Back
Top