摘要: private void exportBinaryToExcel(byte[] bytes, string filename){ Response.AddHeader("Content-Disposition", "attachment; filename=" + filename); ... 阅读全文
posted @ 2015-07-27 14:00 webglcn 阅读(373) 评论(0) 推荐(0)
摘要: public static void test(){ using (SpreadsheetDocument document = SpreadsheetDocument.Open("test.xlsx", true)) { ... 阅读全文
posted @ 2015-07-27 13:34 webglcn 阅读(401) 评论(0) 推荐(0)
摘要: public static void GenerateExcelFromStream(){ using (MemoryStream memoryStream = new MemoryStream()) { using (SpreadsheetDocument document =... 阅读全文
posted @ 2015-07-27 13:26 webglcn 阅读(223) 评论(0) 推荐(0)