Find last row by Sku column
This commit is contained in:
parent
627195fafe
commit
2178c1bea3
@ -95,7 +95,7 @@ public class ExcelReader : IReader, IDisposable
|
|||||||
ProductLineCell = worksheet.Cells.Find(headers["ProductLine"]),
|
ProductLineCell = worksheet.Cells.Find(headers["ProductLine"]),
|
||||||
NameCell = worksheet.Cells.Find(headers["Name"]),
|
NameCell = worksheet.Cells.Find(headers["Name"]),
|
||||||
MeasureCell = worksheet.Cells.Find(headers["Measure"]);
|
MeasureCell = worksheet.Cells.Find(headers["Measure"]);
|
||||||
var lastRowIndex = worksheet.Cells[worksheet.Rows.Count, AmountCell.Column]
|
var lastRowIndex = worksheet.Cells[worksheet.Rows.Count, SkuCell.Column]
|
||||||
.End[XlDirection.xlUp].Row;
|
.End[XlDirection.xlUp].Row;
|
||||||
|
|
||||||
Dictionary<Product, double> readResult = new();
|
Dictionary<Product, double> readResult = new();
|
||||||
|
Loading…
Reference in New Issue
Block a user