I'm trying to get the filtered row count on my datatable. Is this possible?
I'm doing something like this:
dt.DefaultView. RowFilter = expression;
lbl_count.Text = dt.DefaultView. Table.Rows.Coun t.ToString();
//binding to a PagedDataSource object goes here... etc etc.
But obviously that doesn't work.
I'm doing something like this:
dt.DefaultView. RowFilter = expression;
lbl_count.Text = dt.DefaultView. Table.Rows.Coun t.ToString();
//binding to a PagedDataSource object goes here... etc etc.
But obviously that doesn't work.
Comment