日期:2014-05-18  浏览次数:20472 次

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

------解决方案--------------------
用这个试试:AppDomain.CurrentDomain.BaseDirectory