首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

global.asax中怎么使用server.mappath

2012-04-25 
global.asax中如何使用server.mappath?如题我在global中使用server.mappath()提示不可用?有没有解决办法?[

global.asax中如何使用server.mappath?
如题
我在global中使用server.mappath()提示不可用?有没有解决办法?

[解决办法]
用这个试试:AppDomain.CurrentDomain.BaseDirectory

热点排行