I have a file that is being included, in that file there's
Server.MapPath('../_data") which doesn't work since that file included is not in the same Server.MapPath as the file executed. any Idea of how I can get the included file's path?To clarify the situation, I added a picture
You should better use relative paths.
Relative paths start with /
which means start from the root of the site..
精彩评论