I can't use Server.Mappath() inside a class file. Is there any way to do
this..?Use HttpContext.Current.Server.MapPath.
Hope this helps,
Mun
--
Munsifali Rashid
http://www.munsplace.com/
"Onur Bozkurt" <onur.bozkurt@.softhome.net> wrote in message
news:OIiWZ9t2DHA.1736@.TK2MSFTNGP09.phx.gbl...
> I can't use Server.Mappath() inside a class file. Is there any way to do
> this..?
It is working.
Thanks a lot...
"Onur Bozkurt" <onur.bozkurt@.softhome.net> wrote in message
news:OIiWZ9t2DHA.1736@.TK2MSFTNGP09.phx.gbl...
> I can't use Server.Mappath() inside a class file. Is there any way to do
> this..?
It is working.
Thanks a lot...
"Onur Bozkurt" <onur.bozkurt@.softhome.net> wrote in message
news:OIiWZ9t2DHA.1736@.TK2MSFTNGP09.phx.gbl...
> I can't use Server.Mappath() inside a class file. Is there any way to do
> this..?
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment