C# .NET - server.mappath - Asked By kiruba .e on 23-Feb-13 11:56 AM
I am having xml file in my project.
Consider my file is in Errorlog foder.(means /Errorlog/file.xml).
I have to load my xml file in application. How to write this code.
XmlDocument document = new XmlDocument();
document.Load(Server.MapPath("../Errorlog/Errorlogfile.xml"));
I dont know.