Accessing server.mappath() value in class ....

Mani5155
Posted by Mani5155 under ASP.NET category on | Points: 40 | Views : 2156
performing server.mappath() in class file we can use following code

System.Web.HttpContext.Current.Server.MapPath(@"Path")

Comments or Responses

Posted by: Hariinakoti on: 4/10/2012 Level:Starter | Status: [Member] | Points: 10
yes,it is right mani...
Posted by: Mani5155 on: 4/11/2012 Level:Starter | Status: [Member] | Points: 10
Thank you Hariinakoti

Login to post response