Netbros:
Although your solution works, it could be very ineffecient.
Lets say you only want to display 10 records but your query returns 10000. You just transfered 9990 records for no reason.
PLease let me know if I am worng on this.
The proper way to do it should be at the query/database level, so only 10 records are returned.
I am still looking for the proper way to do this...