EPPlus Please set the ExcelPackage.LicenseContext property

使用EPPlus读取Excel文件 报错code

EPPlus 5.0 之后的版本须要指定 商业证书 或者非商业证书。你须要在代码里指定证书或者下降EPPlus版本ci

//指定EPPlus使用非商业证书
ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
相关文章
相关标签/搜索