paging

Hi, the issue is batch size in the paging.. count[no of rows] is miss matching..

when i give the batch size =-1 then count[no of rows] will match to db data 

when i give the batch size =10 or 1 or 20 or 50 whatever it will miss match the count[no of rows] from db to UI 

why this will happen! what is the exact issue? why batch size is giving issue?

can anyone help me with this 

  Discussion posts and replies are publicly visible