组合框搜索包括关键字 [英] Combobox Search Including Keyword
问题描述
你好朋友
我是VB.NET程序员,目前正在开发一个项目,我必须从组合框中搜索。
我正在从数据库中恢复数据(MS ACCESS)并在表单加载事件中将其加载到组合框中
我在组合框中为搜索设置了以下属性:
1. AutoCompleteMode TO建议
2. AutoCompleteSource TO ListItems
3.排序=真
我想搜索包括关键字
例如:组合框中的数据是:
Raj Kumar
Rohit Kamble
Kumar Shanti
假设当我在组合框中键入Kum时它应该显示2个条目,即。 Raj Kumar和Kumar Shanti
它应该显示搜索结果,包括关键字
请帮助我谢谢你
< blockquote>你必须使用AJAX。
Hello Friends
I am VB.NET Programmer and currently working on a project where i have to search from combobox.
I am retreving the data from database(MS ACCESS) and loading it in combobox at form load event
I have set the following properties in combobox for search :
1. AutoCompleteMode TO Suggest
2. AutoCompleteSource TO ListItems
3. Sorted = True
i want to search including the keyword
eg: Data in combobox are :
Raj Kumar
Rohit Kamble
Kumar Shanti
Suppose when i type Kum in combobox it should show 2 entries ie. Raj Kumar and Kumar Shanti
It should show me search results including the keyword
Kindly Help me Thank You
You must use AJAX for this thing.
这篇关于组合框搜索包括关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!