I have a page for our customer to search the jobs for advertised currently and works great when the use a single word. example when the search for "Bituminous" job they get the result However if they enter into the search text box like this "Bituminous and Overlay" then they do not get anything back eventhough there is an a project for Bituminous and overlay job..how can I modify my code to do such kind of search? thank you for the help
With strStringBuilder
....
.Append(" AND UPPER (get_desc (p.contid)) LIKE :curJobSearch ")
.Append(" ORDER BY l.lcontid ")
End With
Dim cmdJobSearch As OracleCommand = New OracleCommand
cmdJobSearch.Parameters.Add(":curJobSearch", OracleType.Char).Value = "%" & Trim(curJobType).ToUpper & "%"
cmdJobSearch.Connection = oOracleConn
With strStringBuilder
....
.Append(" AND UPPER (get_desc (p.contid)) LIKE :curJobSearch ")
.Append(" ORDER BY l.lcontid ")
End With
Dim cmdJobSearch As OracleCommand = New OracleCommand
cmdJobSearch.Parameters.Add(":curJobSearch", OracleType.Char).Value = "%" & Trim(curJobType).ToUpper & "%"
cmdJobSearch.Connection = oOracleConn