Ver código fonte

Added worksheet name

Piotr Czajkowski 2 meses atrás
pai
commit
e6a97651b5
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      ExcelORM/ExcelORM/ExcelReader.cs

+ 1 - 1
ExcelORM/ExcelORM/ExcelReader.cs

@@ -53,7 +53,7 @@ public class ExcelReader : IDisposable
                 }
                 catch (ArgumentException e)
                 {
-                    e.Data.Add("Location", $"{cell.Address.ColumnLetter}{cell.Address.RowNumber}");
+                    e.Data.Add("Location", $"{cell.Address.ColumnLetter}{cell.Address.RowNumber} ({cell.Worksheet.Name})");
                     throw;
                 }
             }