How to retrieve the XML file which is under the project folder
- by Vara Prasad.M
I having an XML file and that file is under the Documents folder.
If I actually give the entire path in C# then I am able to retrieve the XML values, but if I give the project path then it is not getting the values.
For example:
string fileNamePath=ConfigurationManager.AppSettings["XMLDocPath"].ToString() + fileName;
m_xmld.Load(fileNamePath);
It is throwing a runtime error.