adspace


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

Are you ready to relocate? : xslt

918


Do you feel that you have chosen the right technology xslt? : xslt

903


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

869


What are the ways to add styles to html?

997