Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginner's TextBox and Gridview and SQL Select question

Status
Not open for further replies.

h8226

Programmer
Nov 21, 2008
1
This is my first ASP.NET project.

I have a textbox where I can type multiple text strings and a gridview that displays the result from an SQL SELECT based on what's in the textbox.

For example, if the textbox has "abc def -xyz" then the gridview would display all records that have the substrings 'abc' and 'def' and NOT the substring 'xyz'.

I also want the gridview to refresh whenever the space character is entered. That means right after 'abc' and then 'def'.

How do I do that? Many thanks for your help.
 
For the auto refresh portion of your question, look in to AJAX and ICallBack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top