摘要: 方式一:public FileStreamResult DownFile(string filePath, string fileName) { string absoluFilePath = Server.MapPath(System.Configuration.ConfigurationManager.AppSettings["AttachmentPath"] + filePath); return File(new FileStream(absoluFilePath, FileMode.Open), "application/octet-stream&quo 阅读全文
posted @ 2012-10-20 23:06 liang--liang 阅读(23592) 评论(5) 推荐(5) 编辑