You can use the RowFilter property of the DefaultView to narrow down the
number of rows in the DataTable, but if you are looking for aggregates or
some other computation (without making another call to the database), you'll
have to write your own code.