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

How is xml parsed?

798


What is a podcast rss feed?

847


How you will do SubString in XSL

2982


What do you mean by xslt element?

894


Do you feel that you are a good xslt programmer? : xslt

801


What is xml dtd?

830


What is xslt standard?

897


Can we debug xml file?

860


What is the difference between xlt and xls?

973


What is xsl fo template?

925


How to use w3.org feed validation service?

932


Can xml use non-latin characters?

897


What is the difference between xml and http?

874


How does an xsd work?

861


What are rss feeds and how do I use them?

846