How can I use server.mappath
ASP.NET
4
Posts
3
Posters
0
Views
1
Watching
-
Hello, I wrote this code string root = Server.MapPath("~/"); or string root = Server.MapPath("/Project"); but it does not work what's the problem?
Use string root = Server.MapPath("~");
-
Hello, I wrote this code string root = Server.MapPath("~/"); or string root = Server.MapPath("/Project"); but it does not work what's the problem?
-
I can't access to this address if root string http://localhost/project/picture/aks-13 but I recive this string E:\mgh\AmirKabir\ASP.NET\Project\Picture\aks-13