IEnumerable<Email> emails; try { emails = (from p in DatabaseConnection.Emails where p.Newsmail == true select p); } catch (Exception x) { throw x; }
emails = (from p in DatabaseConnection.Emails where p.Newsmail == true select p).Distinct();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)