Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Dataset Select and Record Count


Message #1 by "Magnus Tullock" <magnus.tullock@a...> on Mon, 3 Feb 2003 10:15:26
Hi Guys,
I have a dataset and a data grid which are both working fine.  What I 
would like to do though is filter the dataset to get a count of the number 
of records with todays date.  I was thinking of something along the lines 
of:
       cmd.Fill(ds, "Letters")
    
       myTable.DataSource=ds
       myTable.DataMember="Letters"
       myTable.DataBind()
       
       ds("Letters").Select("DateFinalSaved = today")

But dont know how to get the count.

Any help would be appreciated

Regards
Magnus

  Return to Index