I want to create this query:
select Something, count(Something) as "Num_Of_Times"
from tbl_results
group by Something
having count(Something)>5
I started with this:
tempResults.GroupBy(dataRow => dataRow.Field<string>("Something"))
.Count() //(.......what comes here , to make Count()>5?)
UPDATE : This would give you the result as an
IQueryable<DataRow>:(note that it also fills the dt table)