I need to read from an XML file located on the localhost in the same folder as my application but when I pass the name "MyXML.xml" the app tries to look for it in C:\Windows\System32.
The file will always be located in the same folder as the application, but the application location may eventually change.
Is there an ASP.NET equivalent of the VB.NET Application.StartupPath property?
Thanks in advance
The file will always be located in the same folder as the application, but the application location may eventually change.
Is there an ASP.NET equivalent of the VB.NET Application.StartupPath property?
Thanks in advance