I have the following FilterExpression to search for records in a gridview.
This works if I enter information into both fields but wont work if I leave either field blank.
I have set the filter parameters to convertemptystringtonull = true
Thanks
Code:
FilterExpression="[FirstName] LIKE '{0}%' OR SURNAME LIKE '{1}%'"
This works if I enter information into both fields but wont work if I leave either field blank.
I have set the filter parameters to convertemptystringtonull = true
Thanks