摘要: if (ContentByte == null) return; string downLoadFileName = Name + "." + ByteUitl.FileType(ContentByte); Response.ContentType = "application/octet-stream"; //通知浏览器下载文件而不是打开 Response.AddHeader("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode 阅读全文
posted @ 2011-05-09 16:59 Wythe 阅读(708) 评论(0) 推荐(0) 编辑