现在的位置: 首页 > 综合 > 正文

Global.asax取绝对路径的方法

2012年11月07日 ⁄ 综合 ⁄ 共 92字 ⁄ 字号 评论关闭

在Global.asax文件中取绝对路径的方法:
复制代码 代码如下:
string absolutelyPath =AppDomain.CurrentDomain.BaseDirectory;

抱歉!评论已关闭.