Home All Groups Group Topic Archive Search About

project or website location in design time

Author
6 Apr 2006 2:04 PM
newbie
Hi,

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

Author
7 Apr 2006 6:46 PM
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)

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"newbie" <I.BaZili***@gmail.com> wrote in message
news:1144332296.331687.209230@g10g2000cwb.googlegroups.com...
> Hi,
>
> is it possible to determine project or website location (folder) in
> design time?
>