I heard that in the .NET framework ASP.NET allows easy pagination just by adding attributes within the datagrid view template (or something similar).
My problem is, is how this is done behind the scenes?
Because my problem is that with dealing with a lot of records, does asp.net bring back all records then divides the records in to how many records you set it to show or does it bring back a batch each time? thus querying the database on every page with a set amount of records to bring back on each query?
i want to display records in an admin system but I do not want to bring back all records in one go, hopefully this will be less strenious on the server.