摘要: string path = @"../../TemplateForDownload/AddressBook.xls"; if (File.Exists(Server.MapPath(path))) { //ExportFilePath... 阅读全文
posted @ 2014-12-03 15:37 一个码农的成长之路 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Response.AddHeader("Content-Disposition", "attachment; filename="+HttpUtility.UrlEncode(filename));View Code 阅读全文
posted @ 2014-12-03 15:35 一个码农的成长之路 阅读(276) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;using System.IO;using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;na... 阅读全文
posted @ 2014-12-03 11:17 一个码农的成长之路 阅读(159) 评论(0) 推荐(0) 编辑