DataClassesDataContext d = new DataClassesDataContext(); IQueryable rets = (from p in d.Students where p.School=="Computer" select p).Distinct();
IQueryable rets = (from p in d.Students where p.School == "Computer" select p.department).Distinct();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)