EPPlus.Core.Extensions icon indicating copy to clipboard operation
EPPlus.Core.Extensions copied to clipboard

How to download the excel file ?

Open rullymartanto opened this issue 4 years ago • 0 comments

I try to read and manipulate xlsx file and dowload the file, how to do that ? and there is no Saveas method ?

FileInfo existingFile = new FileInfo(csvPath); using (ExcelPackage package = new ExcelPackage(existingFile)) { //get the first worksheet in the workbook ExcelWorksheet worksheet = package.Workbook.Worksheets.First(); worksheet.Protection.IsProtected = false; worksheet.Protection.AllowSelectLockedCells = false; package.Saveas() ? }

Thanks

rullymartanto avatar Jan 13 '21 02:01 rullymartanto