Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get record count
Message
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Get record count
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01379559
Message ID:
01379559
Views:
80
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
Next
Reply
Map
View

Click here to load this message in the networking platform