DataView - RowFilter
-
Dim refDV As DataView = New DataView(DataSet11.Tables("references")) refDV.RowFilter = "" & ComboBox1.SelectedItem & " = like ('%" & TextBox4.Text & "%')" DataGrid1.DataSource = refDV ================================= Above code cause error "Missing operand before '=' operator" Why that happen. I want to perform selection using 'like' operator as in sql statement and want to include control inside the filtering. Could someone help plz.
-
Dim refDV As DataView = New DataView(DataSet11.Tables("references")) refDV.RowFilter = "" & ComboBox1.SelectedItem & " = like ('%" & TextBox4.Text & "%')" DataGrid1.DataSource = refDV ================================= Above code cause error "Missing operand before '=' operator" Why that happen. I want to perform selection using 'like' operator as in sql statement and want to include control inside the filtering. Could someone help plz.
-
The error like this again "Missing operand before 'like' operator" those message is really i cant get it.
-
Dim refDV As DataView = New DataView(DataSet11.Tables("references")) refDV.RowFilter = "" & ComboBox1.SelectedItem & " = like ('%" & TextBox4.Text & "%')" DataGrid1.DataSource = refDV ================================= Above code cause error "Missing operand before '=' operator" Why that happen. I want to perform selection using 'like' operator as in sql statement and want to include control inside the filtering. Could someone help plz.
Hi, - Operator "=" will not take place with the "Like" Operator. With Regards, :)
-
The error like this again "Missing operand before 'like' operator" those message is really i cant get it.