How to iterate data table


We have database application in our use case. By executing the select query, result is getting stored in ResultSet argument which is of type DataTable.
I don’t want to export it to excel and use excel loop.
Is there any way to iterate data table?


You can Data Table Actvitity and interaction inside it. Get the number of rows first and then using While loop , iterate over rows sequentially and get the value of each row item.


How to get the number of rows?