博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年1月14日

摘要: byte[] buffer = context.Response.Clear(); context.Response.ClearHeaders(); context.Response.ClearContent(); context.Response.ContentType = "application/pdf"; context.Response.AppendHeader("Content-Disposition", String.Format("inline; filename=xxxx{0}.pdf", DateTime.Now. 阅读全文

posted @ 2014-01-14 09:41 随遇 阅读(140) 评论(0) 推荐(0) 编辑