45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




ADO.NET ADO.NET Interview Questions asked in various Interviews. Professionals are invited to share Answers for these ADO.NET Interview Questions. ADO.NET Interview Questions with answers, Experiences, Career Advices, Tips and more.

How to find the count of records in a

        

Reply
 
LinkBack Thread Tools Display Modes
Old 22-05-08, 01:40 AM   #1 (permalink)
Senior Member
 
Join Date: Apr 2008
Posts: 13,341
Thanks: 0
Thanked 18 Times in 18 Posts
Rep Power: 136 ShivaniX has a spectacular aura about ShivaniX has a spectacular aura about
How to find the count of records in a

How to find the count of records in a dataset?

ShivaniX is offline Offline   Reply With Quote
Old 23-06-09, 04:25 PM   #2 (permalink)
Junior Member
 
Join Date: Feb 2009
Age: 24
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 anandkbs is on a distinguished road
Re: How to find the count of records in a

int count = 0
foreach(DataTable CurrTable in DataSet1.Tables)
Count += currTable.Rows.Count;
anandkbs is offline Offline   Reply With Quote
Reply

Tags
ado.net , count , interview questions , records


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find the column count in resultset Shailu07 JDBC 0 13-05-08 07:26 PM
How to find number of records in result set Shailu07 JDBC 0 13-05-08 04:50 PM
TCS Pacement paper 20 sridhar TCS Placement Papers 0 12-02-07 05:38 PM
Sql - Is there any query which is use to find the case sensitivity in each records in database through visual basic? radhika_btech Oracle Interview / Technical Questions 0 23-01-07 09:30 PM
Need SQL to find duplicate records? sk_kireeti ORACLE , SQL SERVER , SYBASE & Others 2 08-04-06 06:28 AM


All times are GMT +6.5. The time now is 02:55 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0