I have read the xml doc using the below statements
XDocument seatxml = XDocument.Load(Environment.CurrentDirectory +"/File.xml");
now I need to read the values how can I achieve this.XDocument seatxml = XDocument.Load(Environment.CurrentDirectory +"/File.xml");
now I need to read the values how can I achieve this.Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 15, 2012, 7:40 PM EDT
you can read node using selectNode method
XmlDocument doc = new XmlDocument();
doc.Load("file.xml");
foreach (var xml in doc.SelectNodes("Test"))
{
//xml.
}
but without your requirement i can not help you.
so please share xml and some more about your requirement.
hopr this will help you.