Hi,
I have two DataTables, and I'm looping through them. After that, I perform a validation: if datatable1(element) equals datatable2(element), I want to delete that current row. However, I don't know how to insert the index of the current row to be deleted.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/fd687644-f733-4d9b-b7c7-7b82cad06568.jpg)
And I have this in my code:
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/fff1812d-ed0d-411d-9242-16102a751440.png)