Help Me/Question How to get the url of the xml which is in my project?

Status
Not open for further replies.

Vincentas

Yellow Belt
hi everyone,

i am new to asp.net. I am having one xml file in my web site. I would like to use that XML file in code behind I would like to use relative path Only.

How to get that Path instead of Absolute path.
 
J

jiashua

this may help

Request.ServerVariables("PATH_INFO")Request.ServerVariables("SCRIPT_NAME")
 
Status
Not open for further replies.
Top