.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

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -