How Paging is working in ASP.net GridviewHi,
In my interview, Interviewer asked how the paging is fetch the data from database. For example, 50 row of records should be show 5 records per page, so there is total 10 pages. While loading the page the first 5 record will be shown from database. when we click the 2nd, 3rd pages respectively... it will shown next 5 records each... how this will fetch in 2nd and 3rd page like wise end of the record.
whether it will go back to database and fetch the data after click the 2nd page? please clarify me