Skip to content

nissl-lab/NPOI.Extensions.Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NPOI.Extensions.Web

FileResult

  • XSSFFileResult
  • SXSSFFileResult
  • HSSFFileResult
  • XWPFFileResult

Sample Code

[HttpGet]
public ActionResult Get()
{
    XSSFWorkbook workbook = new XSSFWorkbook();
    ISheet sheet1 = workbook.CreateSheet("Sheet1");
    return new XSSFFileResult(workbook, "test1.xlsx");
}

DataSet/DataTable Support

  • IWorkbook.ToDataSet()
  • ISheet.ToDataTable()

Sample Code

var dt=sheet1.ToDataTable(false);

Planning

TempStorage Support

  • Azure Bloc
  • AWS S3
  • Local File