Hi,
I want to make a Quick Search Text box in my site. User can enter anything in quick search textbox and press the search button.
I want to populate my datagrid with any product which has a word which the user entered in the text box.
For example if the user enters black in the textbox to search, I want to show
all black products like black pen, black book, black umbrella etc. It will be like a search button.
could you please help me to set up this?
Thanks
Loading
Bechir BejaouiPosted Oct 2, 2008, 4:48 PM
If you use a data base you can use the "LIKE" statetement SELECT ... FROM ... WHERE .... LIKE textBox.text
If you use XML as a back end storage then use the dom
foreach