使用NPOI导出,读取EXCEL,具有可追加功能 看代码 using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Data; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using NPOI.HSSF.UserModel; namespace NPOIExcel { public class Exce
public void Export() { HttpResponse Response = System.Web.HttpContext.Current.Response; // Load your source workbook Workbook workbook = new Workbook(); // Creating a Workbook object ]; sheet.Cells[, ].PutValue(); if (Response != null) { // Save in X