string s = HttpContext.Current.Server.MapPath("");

            string s = HttpContext.Current.Server.MapPath("");

获取当前文件夹路径

而后用相对路径读取图片

posted @ 2014-12-15 22:47  docyard  阅读(495)  评论(0编辑  收藏  举报