publicclassNPOIHelper{privateHSSFWorkbookworkbook;publicstaticIWorkbookLoadFromFile(stringfilepath){using(FileStreamfi=newFileStream(filepath,FileMode.Open,FileAccess.Read)){returnnewHSSFWorkbook(fi);}}publicstaticISheetCreateSheet(stringsheetname...
查看全文