Hi Guys,
I have a datatable where some of the columns have names that include the "&" character. For instance, the name might be "Bob & Tom". It happens that the column datatype is boolean.
When I try to run a select query for all the rows where the column "Bob & Tom" is = True, I get the error "The expression contains unsuppored operator '&'."
My basic code is ...
FilterExpression = "Bob & Tom = 'True'"
Dim FoundRows() as DataRow = Me.Catalog.Select(FilterExpression)
If FoundRows.Count > 0 then
Process the found rows ...
End If
Can anyone advise the correct way to construct the filter expression?
I have a datatable where some of the columns have names that include the "&" character. For instance, the name might be "Bob & Tom". It happens that the column datatype is boolean.
When I try to run a select query for all the rows where the column "Bob & Tom" is = True, I get the error "The expression contains unsuppored operator '&'."
My basic code is ...
FilterExpression = "Bob & Tom = 'True'"
Dim FoundRows() as DataRow = Me.Catalog.Select(FilterExpression)
If FoundRows.Count > 0 then
Process the found rows ...
End If
Can anyone advise the correct way to construct the filter expression?