在Combobox中搜索 [英] Searching Alternatively in Combobox

查看:55
本文介绍了在Combobox中搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

mssql数据库中的表中的两列Product_Code和Description



Product_Code说明

P001 Premier咖啡混合物

P002 GoldRost咖啡粉

P003白咖啡







我想要通过输入组合框来搜索Product_code或Description,

结果将显示Product_code



如何通过描述搜索Product_Code并非全部同样的话,通过使用sql查询语句搜索相似的单词?

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?

推荐答案

如何在组合框中搜索谷歌 [ ^ ]

类似的问题已经被aske了d ..别重复..
how to search as google in combobox[^]
Similar question is already been asked.. Don''t repeat..


嗨亲爱的,

我有一个想法。你可以使用checkBox。选中checkBox时,结果将显示Product_Code,否则结果将显示在Description中。
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.


这篇关于在Combobox中搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆