jiayongmao

2009年2月4日

用Response直接导出Excel

摘要: this.Response.ContentType = "application/octet-stream"; string encodingFilename = Server.UrlPathEncode("统计信息1"); // 通过 Content-Disposition 确定下载的文件名 ... 阅读全文

posted @ 2009-02-04 10:48 贾永茂 阅读(949) 评论(0) 推荐(0) 编辑

GridView直接导出Excel和Word

摘要: 昨天找到了用GridView直接导出Excel的方式,用到了项目上 using System.Drawing; using System.IO; using System.Text; /// /// 导出Excel /// /// /// protected void Button... 阅读全文

posted @ 2009-02-04 10:43 贾永茂 阅读(240) 评论(0) 推荐(0) 编辑

导航