TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kripa
NA
1
0
How to get number of records in the database using recordset
May 9 2007 1:42 PM
This is a real simple problem but for some reason I haven't been able to figure it out. I am executing a query and I need to get the number of records returned from the query and need to use that number to loop through some operations. I have tried rs.RecordCount where rs is a recordset but receive a -1. What is the function to get the number of rows returned?
Reply
Answers (
2
)
primary keys
Converting a Byte[ ] from a Dataset in an XML element