Loging in "Item not Found" in the wrong row

Can seem to find out why it is looging"Item not Found" in row 26 since the last row is the one that has the error

Any help?

Hi @kishanpatel728,
I think that the DataRow index is 26. Thats y it writes there. Can you check the DataRowIndex before using the write cell by Messagebox acvivity.