Articles   Dev Forums   Personalize   Favorites   Member Login   ASP Hosting      Active Users:  69
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Friday, May 09, 2008
Home
Articles & Samples
ASP Hosting
Dev Search
Dev Forum
Add Your Articles
Add a Listing
Sample Chapters
Directory Feed
Link to US
Contact

Search Directory
Applications
Articles & Samples
Components
Community
Database
Developer Sites
Downloads
Hosting Services
Introduction
Knowledge Base
Sample Chapters
WebCasts

Trusted by over 7 million customers!
ASP Directory
Applications
Articles & Samples
Components
Developer Sites
Knowledge Base
Sample Chapters
WebCasts
XML Directory
Applications
Articles & Samples
Developer Sites
Error, Bugs & Fixes
Downloads
Introduction
Knowledge Base
Sample Chapters
WebCasts

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Database > Records Counts
Search
DevASP

What's New
What's Hot

Count The Records       
Total Hits: 4945  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

Hated that -1 that kept coming up instead of showing how many records were returned. You need to Set your recordset (first line) and THEN Open it (second line) with your connection (we used cnDZ) and use the adOpenStatic cursor. Confused, check the code....

How Not To Count A Recordset       
Total Hits: 3053  |  Today: 0 Author: Phil Paxton       Rating:  
Read Reviews | Write Review |              Your Rating: 

Phil Paxton has compiled a list of ten commandments all ASP developers should religiously follow.Thou shalt use neither a "counting" loop nor .MoveLast to count the number of records in an ADO recordset. (either set the .CursorType correctly or use a Count() in SQL). In this article, Phil explains why that commandment is so, and the disadvantages present to using .MoveLast or a counting variable....

Try and Catch Fun in SQL Server 2005       
Total Hits: 199  |  Today: 0 Author: Abdul (Rajib) Bahar       Rating:  
Read Reviews | Write Review |              Your Rating: 

Try and Catch is very popular among the developer community writing code in C#, C++, or other high level languages. The conventional term referring to Try-Catch blocks is Exception Handling. Exception Handling is simply a breach of an application's predefined assumptions. It enables us to provide a reliable data/process validation mechanism in our applications. SQL Server did not have any close counterpart for it until now. Prior to SQL Server 2005, many of us relied on the variable @@ERROR. If ...

Multiple DB Hit Counter   Version: 1.0.0       Price: Free   
Total Hits: 230  |  Today: 0 Author: Emadullah Gawai       Rating:  
Read Reviews | Write Review |              Your Rating: 

In this article, you will learn how to count the page hit if there is no file accessing support available. Most of the free servers does not permit file accessing, if you are one of the free users, this article will be great helpful to you....

Text Databases       
Total Hits: 559  |  Today: 0 Author: Daniel Morritt       Rating:  
Read Reviews | Write Review |              Your Rating: 

For simple applications using text files you can count database items using SELECT COUNT in a simple comma delimited txt file database...

Database RecordCount Sample       
Total Hits: 1948  |  Today: 0 Author: Gary Williams       Rating:  
Read Reviews | Write Review |              Your Rating: 

Are you tired of always getting "-1" returned when you ask your Recordset how many records it contains? ASP 101 thought you might be, and has written an article that describes a workaround....

PICK A NUMBER OF RECORDS FROM A DATABASE       
Total Hits: 984  |  Today: 0 Author: markprijs.nl       Rating:  
Read Reviews | Write Review |              Your Rating: 

When I added a webtools directory to my website, I wanted to show my visitors the 8 webtools that were last added. I thought it would be an easy thing to do, but it took me quiet some time to find out how....

Counting Records Wizard       
Total Hits: 2130  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

I have seen many requests in forums and messageboards for counting records and displaying the total. Well, this little wizard will help you accomplish this task. Fill in the form below and it will crank out the code for you....

Really Easy Record Counting       
Total Hits: 2131  |  Today: 0 Author: Daniel Morritt       Rating:  
Read Reviews | Write Review |              Your Rating: 

Most people set the right options when opening a RecordSet just so they can use the .RecordCount property to get the number of records in a RecordSet, why? Beats me, when the server can just tell you this information....

Counting Records       
Total Hits: 2425  |  Today: 0 Author: Juan Llibre,Charles Carroll       Rating:  
Read Reviews | Write Review |              Your Rating: 

This script counts the records in a database. Many people who attempt to use the .recordcount property have the value -1 returned to them. In a nutshell, -1 means "I don't know how many records this query/table contains". It happens since the default cursor type is AdOpenforwardonly (see below for explanation of all cursor types). Here is the script that counts the query results and WILL NOT return -1:...

Database RecordCount Sample       
Total Hits: 2368  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

Are you tired of always getting "-1" returned when you ask your Recordset how many records it contains? ASP 101 thought you might be, and has written an article that describes a workaround....



DevASP - Privacy - Disclaimer
Copyright © 2008 DevASP.com