I have below condition in my code where the cell value is getting by using Column number.
But I would like to assign values to cells based on column names, as the values I am assigning from an array, the column names in the array are not in the same order as column headers in Excel sheet.
if (row.GetCell(columnNumber) != null)
ICell cell = row.GetCell(columnNumber);
Can anyone please let me know how can i get the cell values by using Column Names