Error while looing and checking the condition

I am acutally looping Dt and checking if the row count is greater than or equal to 8 then continue execution.
But now when i am using the counter with Int32 Datatype , for 8 and 9 the condition is showing true , but from 10 onwards its showing as false .

What change need to me made ?
Please help

Regards,

Hi @Deeksha

The index in for loop starts from zero. So you want to check if the row is 7 then the index of that row is only 6 so accordingly change the condition

cheers