输入banner图图片脚本导航/分类

Global.asax取绝对路径的方法

在Global.asax文件中取绝对路径的方法:
代码如下:

string absolutelyPath =AppDomain.CurrentDomain.BaseDirectory;