physical location of the Web page?

Discussion in 'ASP .Net' started by Ric Pullen, Jan 20, 2004.

  1. Ric Pullen

    Ric Pullen Guest

    Is it possible to find the physical location of the web page within code?

    I need to load up a crystal.net report (not embebded in the application) via
    a filename and i know that the file resides in one directory below the web
    page. Therefore rather than hard code the full path i want to derive it
    from the webpage.

    Cheers
     
    Ric Pullen, Jan 20, 2004
    #1
    1. Advertisements

  2. Ric,

    Check out "Server.MapPath"

    --
    Sincerely,

    S. Justin Gengo, MCP
    Web Developer / Programmer

    Free code library at:
    www.aboutfortunate.com

    "Out of chaos comes order."
    Nietzche
     
    S. Justin Gengo, Jan 20, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.