.net - Accessing DataDirectory folder from a different project C# -
.net - Accessing DataDirectory folder from a different project C# -
i have files in app_data folder @ project "b" , want utilize of these files project "a".
from b can do
appdomain.currentdomain.getdata("datadirectory")
how can "b" datadirectory path project "a"?
thanks!
as per knowledge seek below code:
string existingfilename = (server.mappath(string.format("/bproject/app_data/" + filename));
c# .net
Comments
Post a Comment