System.Xml.XmlDocument myXmlDocument = new System.Xml.XmlDocument(); myXmlDocument.Load(Server.MapPath("test.xml"));
<?xml version="1.0" encoding="utf-8"?> <entry> <Name name="test"></Name> <Location name="India"></Location> <Email name="aaa@test.com"></Email> <DOBirth name="01-02-1988"></DOBirth> <Gender name="M"></Gender> </entry>
System.Xml.XmlDocument myXmlDocument = new System.Xml.XmlDocument(); string xmlPath = System.IO.Path.Combine(Server.MapPath("~/App_Data"), "test.xml"); if(!File.Exists(xmlPath)) throw new Exception("Cannot find xml"); myXmlDocument.Load(xmlPath);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)