下载


public ActionResult xiazai()
{
var path = Server.MapPath("~/shangchuan/屏幕截图(1).png");
FileStream fa = new FileStream(path,FileMode.Open);
return File(fa, "image/gif", "a.jpg");
}
*****************
<a href="xiazai">下载</a>

posted on 2019-05-31 20:19  宇大大  阅读(59)  评论(0编辑  收藏  举报

导航