table field is bit
page its passing All - is 2,Approved -1 ,Pending -0
where condition i need to check either - 1 ,0 ,2
1-should get approved status records,
0 should get approved pending status records.
All -when i choose all - i have to get all records