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
How do I run an xsd file?
What are the specifications defined in xslt?
What is xml format in excel?
What is the use of xslt?
What is xsl apply templates?
What is xsl used for?
How do I convert an xml file to powerpoint?
Explain about xml data binding?
What are the parsers are supported in xml?
How are documents accessed and manipulated in xml?
How do I create an xml tax return?
How do I run an xml file?
What is difference between xsd and wsdl?
What are the different xslt elements?
What is xml feed?