摘要: 以图片为例 后台Controller.cs public FileResult ImageUrl(string file) { return File("物理路径"+file, "image/png"); } 前台.cshtml <img src='@Url.Action("ImageUrl", " 阅读全文
posted @ 2016-08-15 17:48 xs~ing 阅读(1251) 评论(0) 推荐(0) 编辑