张博的技术菜园子

导航

未能映射路径的解决方法

应该这样写: 
string path = Server.MapPath("/"); 
也可以这样写: 
string path = Server.MapPath(Request.ApplicationPath);

posted on 2010-01-19 09:48  蕊蕊  阅读(530)  评论(0编辑  收藏  举报