It depends on what you need, if you need:
- name like admin or name is the text in the control and if any of those is true, and the path is given then:
SelectCommand="SELECT List.* FROM List WHERE ((Name = ?) OR (Name LIKE '%Admin%')) AND (Path LIKE '%' + ? + '\%')
ORDER BY Skipped"
- name like admin and path is the text in control then return results or if those don't match then if user is the text from control then:
SelectCommand="SELECT List.* FROM List WHERE (Name = ?) OR ((Name LIKE '%Admin%') AND (Path LIKE '%' + ? + '\%'))
ORDER BY Skipped"