Here is my question, and I have searched this stackoverflow but cannot find the correct solution.
I have an website, that is stored in (locally on my machine)
C:\websites\Website1
in the same folder I have
C:\websites\Website1\xmldoc.xml
I want to be able for the program to find and access the C:\websites\Website1\xmldoc.xml. I have hard coded the C:\websites\Website1\xmldoc.xml location into my website but I am trying to figure out if there is a better way. I have tried Application.StartupPath but it doesn't work.