Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

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

Discussion in '.NET Programming' started by Vincentas, Jan 4, 2013.

Thread Status:
Not open for further replies.
  1. Vincentas

    Yellow Belt

    Joined:
    Nov 27, 2012
    Messages:
    13
    Ratings:
    +0 / -0
    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.
     
  2. jiashua

    jiashua Guest

    Ratings:
    +0 / -0
    this may help

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

Share This Page