ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
InitializeComponent(); Putting it as a using statement
app.config
<appSettings> <!--The license context used--> <add key="EPPlus:ExcelPackage.LicenseContext" value="NonCommercial" /> </appSettings>
sourceWorkbook = objArchive.Workbooks.Open(strSourceFile); sourceWorkbook.SaveAs(strDestinationFile); sourceWorkbook.Close(); destinationWorkbook = objArchive.Workbooks.Open(strDestinationFile, misValue, false);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)