S
shapper
Hello,
I am using Server.MapPath("~/App_Data/") to get the absolute path.
I need to create the full path of a file. So I can use:
String.Concat(Server.MapPath("~/App_Data/"), filename);
But I get an error if I pass just "~/App_Data" ... Ok I can solve that
easy.
But I think there is a .NET method for this ... I have that idea but I
can't find it.
Do you know which one it is?
Thanks,
Miguel
I am using Server.MapPath("~/App_Data/") to get the absolute path.
I need to create the full path of a file. So I can use:
String.Concat(Server.MapPath("~/App_Data/"), filename);
But I get an error if I pass just "~/App_Data" ... Ok I can solve that
easy.
But I think there is a .NET method for this ... I have that idea but I
can't find it.
Do you know which one it is?
Thanks,
Miguel