摘要:
private void exportBinaryToExcel(byte[] bytes, string filename){ Response.AddHeader("Content-Disposition", "attachment; filename=" + filename); ... 阅读全文
摘要:
public static void test(){ using (SpreadsheetDocument document = SpreadsheetDocument.Open("test.xlsx", true)) { ... 阅读全文
摘要:
public static void GenerateExcelFromStream(){ using (MemoryStream memoryStream = new MemoryStream()) { using (SpreadsheetDocument document =... 阅读全文