On a winform, in a datagrid, I am displaying about 100k rows, selected from the DB. Showing all these records take a lot of time. Is there a way to make the select query faster or maybe load the first 200 records. And then if the users click the next button, the next 200 records will be displayed. Is this possible? I know mysql has LIMIT, but I need something to work for sql-server 2008.
Share
Stored Proc
Testing Purpose Data testing
In addition to the above Stored Proc, You can implement
Indexesto make the search fast or you can use SQL Profiler to check the reason for delay in execution time.