Hi !
I try filtering Bindingsource using LIKE operator for a numeric field,but I can't resolve it.
id - numeric field
name - text field
I got error : "The expression contains undefined function call cstr()"Code:bsrc.Filter = " CStr(ID) LIKE '%"+txtSearch.text+"%' OR name LIKE '%"+txtSearch.text+"%'"
Thanks.




Reply With Quote