I have a table search the record. The user can search by name, id, status, address and other information.
I want to make the search function more robust. For example, when the database has a record with name = "Michael Jackson", either typing any subset of the name will show this record.
I would like to know if there is any easy way to implement this with VS2005 and SQL2005 Express.
Thank you
Take a look at the LIKE command in SQL, some examples :http://www.techonthenet.com/sql/like.php ,Hope this helps or gives you some steer.
|||This thread contains some good tips on the SQL searching subject:http://forums.asp.net/thread/1529167.aspx
No comments:
Post a Comment