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

Explain about the techniques for processing xml files?

955


How do I use the default xml namespace to refer to attribute names in an xml namespace?

928


state some disadvantages of xml?

867


What is xml simple definition?

871


What is an xml expansion pack?

883


How to perform XML transformation in Java?

959


What is the full form of xsl?

927


What is xml xsd and xslt?

818


How do you view an xml file?

924


Can xml replace html?

875


How xml is different from html?

941


Can we encode mathematics using XML?

951


Is sql used in excel?

918


What is a Processing Instruction in XML?

915


Can the attribute list of an element type contain attributes whose names come from other xml namespaces?

899