filter datagrig based on three parameters

  • Thread starter Thread starter zleug
  • Start date Start date
Z

zleug

Guest
Hi All.

In my WPF form I have DataGrid which is link to EF table and three TextBox fields such as EmpNo, FirstName and LastName for filter DataGrid. The DataGrid should be filter when exactly match parameters in database table in different combinations:

  1. by EmpNo
  2. by EmpNo and FirstName
  3. by EmpNo and LastName
  4. by FirstName and LastName
  5. by EmpNo, FirstName and LastName
  6. by LastName

How to solve this problem? I'll appreciate for detail explanation.

Thanks.

Continue reading...
 
Back
Top