| Display 10 Records Per Page ASP Script - ASP Web Pro |
|
ASP ScriptsDISPLAY 10 RECORDS PER PAGEThere may be times when you need to display a large number of records on your web page. Generally, the best way to do this is to limit the number of records displayed on your page and let the user scroll through the records by page. For example, let's say that you had a customer database that you wanted to display on your web page for your employees to view. The first thing you need to do is create a database called
MyCustomers. Then create a table called tblCustomerInfo with
these fields: Then, enter some test data. For this example, we will say that we have a database containing 30 customers and we only want to display 10 customers per page. Next, you create a page called displaycustomers.asp and copy the below code into your page:
Finished! You now have your very own scrollable customer list. Now all you have to do is go out and get those customers!
|
|||
|
Main Menu Other Resources
Last Updated:
|
|||
|
© 1997-2008 ASP Web Pro, Inc. | Terms of Use
|