Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Two columns Product_Code and Description in a table in mssql database

Product_Code Description
P001 Premier Coffee Mix
P002 GoldRost Coffee Mix
P003 White Coffee



I want to search Product_code or Description alternatively by typing in combobox,
the result will display Product_code

How to search Product_Code by Description with not all same words, by searching like words by using sql query statement?
Posted
Comments
[no name] 2-Dec-12 23:36pm    
Similar question is already been asked.. Don't repeat..

how to search as google in combobox[^]
Similar question is already been asked.. Don't repeat..
 
Share this answer
 
hi dear,
I have one idea. you can use a checkBox. when checkBox is checked, then the result will be display Product_Code otherwise the result will be display in Description.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900