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
In What case you are not going to use XML?
How do I create an rss feed for my podcast?
How use xml data in excel?
Which is better xml or html?
What is url what is the use of it?
What is an xml tag?
What is xml and its features?
How do I use xml namespaces with dom level 2?
Can the content model in an element type declaration contain element types whose names come from other xml namespaces?
what are the predefined entities in XML ?
Define xsl?
How many types of dtd are there in xml?
What is the full form of xml?
Explain about xml signature?
Explain an overview of xml.