0

I have to create Folder at server with the help of Server.MapPath method in C# but i can't Use HttpContext Class in project, any solution?

System.IO.Directory.CreateDirectory(Server.MapPath(@"~/pix/"));

it not allow me to use Server.MapPath method

0 Answers0