I believe this question was asked several months back, but i believe my situation is different and the same rules may not apply.
Everytime I execute this method tha
for (int i = 0; i <= dt.rows.count; i++) { // do something till rows in DT }