I upgraded from version 67.2 to version 68.1 and now the following code does not work.
int rowCount = 0;
XLWorkbook sourceWB = new XLWorkbook(fileLocation);
IXLWorksheet sourceWS = sourceWB.Worksheet(1);
foreach (IXLRow row in sourceWS.Rows())
{
rowCount = row.RowNumber();
...
}
In version 67.2 and all prior versions this gave me each row in order starting at row 1.
Now in version 68.1 the first row in the list is the row of the cell that was selected when the file was saved.
This breaks all my existing code because I expect the first row in the list to be the header row and I depend on the rows being in order.
Thank you.
int rowCount = 0;
XLWorkbook sourceWB = new XLWorkbook(fileLocation);
IXLWorksheet sourceWS = sourceWB.Worksheet(1);
foreach (IXLRow row in sourceWS.Rows())
{
rowCount = row.RowNumber();
...
}
In version 67.2 and all prior versions this gave me each row in order starting at row 1.
Now in version 68.1 the first row in the list is the row of the cell that was selected when the file was saved.
This breaks all my existing code because I expect the first row in the list to be the header row and I depend on the rows being in order.
Thank you.