var query = from r in tempData.AsEnumerable() where r.Field<string>("UserName") != "XXXX" where r.Field<string>("UserName") != "YYYY" select r;