Hi there,
Take a look here:
http://www.asp101.com/samples/db_paging.asp
The sample code uses an Access database, but you can easily change it so it uses a MS SQL database instead. Check
here for connection string examples for SQL Server.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.