SyntaxFix
Write A Post
Hire A Developer
Questions
You can do it with Linq, as mamoo showed, but the oldies are good too:
var filteredDataTable = dt.Select(@"EmpId > 2 AND (EmpName <> 'abc' OR EmpName <> 'xyz') AND EmpName like '%il%'" );