DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 12 Aug 2007 21:19:53 -0300,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Paulo Roberto
          2    Alvin Bruney [MVP] some guy without an email address


Total records   
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!
Date:Sun, 12 Aug 2007 21:19:53 -0300   Author:  

Re: Total records   
dataset1.table[0].Rows.Count should do the trick

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

"Paulo Roberto"  wrote in message 
news:OFVaLBU3HHA.2312@TK2MSFTNGP06.phx.gbl...

> 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!
> 
Date:Sun, 12 Aug 2007 21:48:28 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us