EPPlus throwing Argument Exception (Negative row and column numbers are not allowed)
问题 I'm using EPPlus 2.9.0.1 with Visual Basic. I have a DataTable with 35 Rows and 4 Columns and the code below: Dim FullFilePath As String = "c:\Report.xlxs" Dim newFile As FileInfo = New FileInfo(FullFilePath) Using package As ExcelPackage = New ExcelPackage(newFile) Dim worksheet As ExcelWorksheet = package.Workbook.Worksheets.Add("Relatório") worksheet.Cells.LoadFromDataTable(gSystemTable, False) package.Save() End Using When method 'LoadFromDataTable' is called, I get an ArgumentException