my requirement is i have to do pagination using dropdown on select if i select 20 20 records should show and if i select 30 30 records should show i want by classic asp
To implement paging, you can try these strategies:
You can try to use AJAX to make request to server and get the data, and then you can use some jQuery datatable plugin with pagination and populate datatable plugin with your data.
You can also do paging on server side. You can pass dropdown selected value as “PageSize”, and then you can pass “PageSize” and “CurrentPageIndex” to server side method and do a query from your database to retrieve
paged records.
Following on from suggestion 1, I've used the Datatable jquery plug in (https://datatables.net/) on Classic ASP projects, it's a simple and quick way of doing what you need without having to write too much code
yourself.