c# - Error Prompt modifying cells using EpPlus -
i used code below allow me modify cell [j10] using epplus] modify code work sucessfully when try open excel file prompted error we found problem content in 'test.xlsx'. want try recover as can? if trust source of workbook, click yes
. may ask how go past error
fileinfo newfile = new fileinfo(filelocation); excelpackage pck = new excelpackage(newfile); //add content sheet var ws = pck.workbook.worksheets.firstordefault(); //headers ws.cells["j10"].value = "test tis"; pck.save(); system.diagnostics.process.start(filelocation);
Comments
Post a Comment