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