Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Total records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paulo Roberto - 13 Aug 2007 01:19 GMT
Hi, how can I return the total of records returned from a DataSet? Because
if I use the grdview.row.count it will show just the page total... I would
like the whole...

How can I do that? or must I execute another sql statement: "count(*)"
instruction on db ?

Thanks a lot!
Alvin Bruney [MVP] - 13 Aug 2007 02:48 GMT
dataset1.table[0].Rows.Count should do the trick

Signature

Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc

> Hi, how can I return the total of records returned from a DataSet? Because
> if I use the grdview.row.count it will show just the page total... I would
[quoted text clipped - 4 lines]
>
> Thanks a lot!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.