Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you access elements in XML document?

Answer Posted / aravazhi

This way u can access...
XmlDocument xmldoc = new XmlDocument();
xmldoc.Load(Server.MapPath("Employee.xml"));
XmlNodeList xmlnodes = xmldoc.SelectNodes
("Employee/EmpName");
DataGrid1.DataSource = xmlnodes;
DataGrid1.DataBind ();

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dtd in xml?

804


how to transform an XML file into HTML using XSL transformation (XSLT)?

848


What is cdata in xml?

847


Define complex element?

798


How can I check that a document conforms to the xml namespaces recommendation?

825


What does dtd stand for?

826


What is XML Encoding?

848


What is xml parser function?

809


What's the best rss reader?

782


What is xsl text?

858


Explain how to retrieve value of an attribute for an element using XSLT?

926


Is rss still used?

759


Which was the first processor related to xslt? : xslt

738


Is sql used in excel?

845


Where do I find my rss feed url on wordpress?

787