.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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -