>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
I have no idea if this is what you're looking for, but quick search returned
http://aspguy.wordpress.com/2008/06/08/datatablecompute-method-is-lovely/
If it's not broken, fix it until it is.
My Blog