Hi,
I am currently using the following code to do a search from Two text Boxes and display them on a datagrid. How do i implement a Pattern match with the text i enter. Something like a LIKE option in SQL.
I am currently using the following code to do a search from Two text Boxes and display them on a datagrid. How do i implement a Pattern match with the text i enter. Something like a LIKE option in SQL.
'OleDbDataAdapter1.Fill(objds1)
'Dim dv As DataView = New DataView(objds1.Software)
'With dv
' .AllowDelete = False
' .AllowEdit = False
' .AllowNew = False
' .RowFilter = "Manufacturer='" + Trim(SearchManu.Text) + "'"
' .RowFilter = "SoftwareName='" + Trim(SearchSoft.Text) + "'"
' .Sort = "SoftwareName DESC"
'End With
'DataGrid1.DataSource = dv
Thanks,
Karl
'Dim dv As DataView = New DataView(objds1.Software)
'With dv
' .AllowDelete = False
' .AllowEdit = False
' .AllowNew = False
' .RowFilter = "Manufacturer='" + Trim(SearchManu.Text) + "'"
' .RowFilter = "SoftwareName='" + Trim(SearchSoft.Text) + "'"
' .Sort = "SoftwareName DESC"
'End With
'DataGrid1.DataSource = dv
Thanks,
Karl