asp.net mvc 下载文件
摘要:
[Authorize] public FileContentResult DwonAttachment(int id) // controller - action { Member_Attachment ma = new Member_Attachment(); // class TMember_Attachment model = ma.GetModel(id); if (model != null) { try { int memberid = model.MemberID; if (System.IO.File.Exists(model.NewFilePath)) -... 阅读全文