locked
search string data for word match with wildcards RRS feed

  • Question

  • User1909155429 posted
      SqlDataSource1.FilterExpression = "description LIKE '%{0}%'"
                        SqlDataSource1.FilterParameters.Add("description", TxtSearch.Text)


    i am using a filter on sqldatasource to search for data. i am able to return data when search single words entered in textbox but not when string containing multiple words.

    i want to be able to return data when a match is made on either the first word in a sentence or/else alternative word matches ? 

     

    Monday, March 18, 2013 5:34 PM

Answers

All replies