List<tbl_personinfo> c = marsh.tbl_PersonInfo.Where(k => k.Name.Contains(ss)||k.Family.Contains(ss2));
List c = marsh.tbl_PersonInfo.Where(k => k.Name.Contains(ss) ||k.Family.Contains(ss2)).ToList();
List<yourobject> x = marsh.tbl_PersonInfo.Where(delegate(yourobj k) { return k.Contains(ss); }).ToList();</yourobject>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)