Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get record count
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Get record count
Versions des environnements
Environment:
VB 9.0
Divers
Thread ID:
01379559
Message ID:
01379559
Vues:
81
Hi All,

How do I get the record count of the Data Table after the filter was applied using BindingSource:
'remove any filters first
DsPPBindingSource.RemoveFilter()
'apply filter
DsPPBindingSource.Filter = "cPPStatus = 'Approved' "
'This returns the original record count before filter was applied
RowCount.Text = Me.BindingContext(DsPP, "dtPP").Count()
Thank you,
Daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform