views:

181

answers:

2
+1  A: 

You might want to look into using DataViews to filter your data:

http://aspnet101.com/aspnet101/tutorials.aspx?id=31

Ian Jacobs
A: 

You can generate a DataTable filter string to select rows from a data table.

http://msdn.microsoft.com/en-us/library/system.data.datatable.select.aspx

Here is docs on the filter string

http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression.aspx

MikeHoyle