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 is xml parsed?
What is a podcast rss feed?
How you will do SubString in XSL
What do you mean by xslt
Do you feel that you are a good xslt programmer? : xslt
What is xml dtd?
What is xslt standard?
Can we debug xml file?
What is the difference between xlt and xls?
What is xsl fo template?
How to use w3.org feed validation service?
Can xml use non-latin characters?
What is the difference between xml and http?
How does an xsd work?
What are rss feeds and how do I use them?