摘要: 当使用 HttpContext.Current用到不是当前线程会出null的情况,可使用 System.Web.HttpRuntime.AppDomainAppPath获取程序的根路 string path = HttpContext.Current.Server.MapPath("d:\a.txt"); 阅读全文
posted @ 2018-09-13 08:32 深圳丶追 阅读(127) 评论(0) 推荐(0) 编辑