project or website location in design time

N

newbie

Hi,

is it possible to determine project or website location (folder) in
design time?
 
S

Steve C. Orr [MVP, MCSD]

Try messing around with these lines. One of them should give you what you
want depending on what exactly you're looking for...
Server.MapPath(".")
Request.ApplicationPath
Server.MapPath(Request.ApplicationPath)
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,135
Messages
2,570,783
Members
47,341
Latest member
hanifree

Latest Threads

Top