摘要: // 摘要: // 获取或设置包含该应用程序的目录的名称。 // // 返回结果: // 应用程序基目录的名称。AppDomain.CurrentDomain.SetupInformation.ApplicationBasebasePath = AppDomain.CurrentDomain.BaseDirectory;//得到项目的基目录Server.MapPath获得的路径都是服务器上的物理路径,也就是常说的绝对路径1、Server.MapPath("/")注:获得应用程序根目录所在的位置,如C:/Inetpub... 阅读全文
posted @ 2014-04-01 20:01 kanek 阅读(743) 评论(0) 推荐(0) 编辑