Hello,
I have a dashboard that I am trying to set up a textbox to filter the grid contents with. I have done it before but this time I am running into an error I haven’t seen before.
Cannot perform ‘Like’ operation on System.Int32 and System.String.
Below is the code I am trying:
var payListEdv = (EpiDataView)(oTrans.EpiDataViews[“V_SDH_APPaymentList_1View”]);
string filter = “CheckHed_CheckNum LIKE ‘6%’”;
payListEdv.dataView.RowFilter = filter;
The 6% in it was just plugged in to see if I had something wrong from the textbox, it gives the same error.
If I change it to “CheckHed_CheckNum = ‘612345’”, it works fine but I want to find partial matches with this filter.
Any help is appreciated.