5
ho appena iniziato l'attuazione del presente per popolare un foglio di Excel con alcuni dati:"Colonna out of range" Errore durante il popolamento un foglio di Excel
using OfficeOpenXml;
//..
ExcelWorksheet VerificationSheet_Sheet4 = package.Workbook.Worksheets.Add("SheetTitleHere");
int row = 0, col = 0;
VerificationSheet_Sheet4.Cells[row + 1, col].Value = "AnyStringHere"; // error here
Tuttavia si apre un errore che dice colonna è fuori portata. Perché e come posso risolverlo?