Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

How to download the excel file ? #29

@rullymartanto

Description

@rullymartanto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions