for(int i=0;;i++) { if(i<200) { while(dbReader.read()) { //Logic goes here // it gets the employee details one by one. } } else//when it has reached the limit { system.Threading.Thread.sleep(60000) } }
MOD
if((i % 200) =! 0)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)