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