G
gujarsachin2001
Hello friends,
I have one folder Named as MainFolder on server. I have one more
folder named as subfolder inside tht main folder.Now I want to save
some pictures in tht folder but at runtime I m not getting correct
virtual path of tht folder. As Server.MapPath() & MapPath methods
returns physical path.So How I can Access tht folder independent of
where my application is insatlled.
I have used following metthods but it doesnt work,
Server.MapPath(".//subfolder");
MapPath("~/subfolder");
Request.MapPath(".//subfolder");
Thxxxxxxx,
Sachin.
I have one folder Named as MainFolder on server. I have one more
folder named as subfolder inside tht main folder.Now I want to save
some pictures in tht folder but at runtime I m not getting correct
virtual path of tht folder. As Server.MapPath() & MapPath methods
returns physical path.So How I can Access tht folder independent of
where my application is insatlled.
I have used following metthods but it doesnt work,
Server.MapPath(".//subfolder");
MapPath("~/subfolder");
Request.MapPath(".//subfolder");
Thxxxxxxx,
Sachin.