Code:
AgencyId like '528%' and ResourceTypeId = '7'
I want to pass the above string as filter for the bindingsource but everytime it gives an error.

The error is :

Cannot perform 'Like' operation on System.Int16 and System.String.

Any help is highly awaited