I am curious to know how does paging work in asp.net? If my query returns 500 records, and my gridview paging limits to 25 records per page, when the gridview loads, does the recordset return 25 records or 500 records?
If the recordset returns 25 records, how does ado communicate with SQL to return records for page two?
If the recordset returns 500 records, are they cached within the client side?