摘要:
string path = @"../../TemplateForDownload/AddressBook.xls"; if (File.Exists(Server.MapPath(path))) { //ExportFilePath... 阅读全文
摘要:
Response.AddHeader("Content-Disposition", "attachment; filename="+HttpUtility.UrlEncode(filename));View Code 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.IO;using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;na... 阅读全文