| Count and Display Number of Records ASP Script - ASP Web Pro |
|
ASP ScriptsCOUNT AND DISPLAY NUMBER OF RECORDSThere are a lot of times when web designers need to count and display the number of records you have in their database. There are two simple ways to do this, be using DO...LOOP or by using COUNT in your SQL statement. Below are examples of both. If you want to use the DO...LOOP method, paste the below code into your page:
The SQL COUNT method uses a little less code. If you want to use it, just paste this code into your page:
Either method will work. Like most things in ASP, it is really a matter of preference and what type of project you are working on. Happy counting!
|
||||
|
Main Menu Other Resources
Last Updated:
|
||||
|
© 1997-2012 ASP Web Pro, Inc. | Terms of Use
|