在数据库中的文本框中显示选项 [英] To display options in textbox from database
本文介绍了在数据库中的文本框中显示选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在文本框中键入一些字母时...必须显示表中一列中的一些相关数据...示例
如果我键入"A"表示它需要显示"Apple","axe"等...在其下方,例如下拉.....我需要在VB中对此代码而不使用AJAX
when i type some alphabet in textbox...it has to show some related datas from one column in table...example
if i type "A" means it need to display "Apple","axe" etc ...below it like drop down.....i need code for this in VB without using AJAX
推荐答案
尝试构建一个自动完成框.
这里有一些例子
VB.Net中的自动完成组合框 [ http://www.vbnettutorial.net/?Id=135&Desc=VB. net-ComboBox-AutoComplete [ ^ ]
此处 [ ^ ]是免费的控件下载.
Try building an autocomplete box.
Here are a few examples
AutoComplete ComboBox in VB.Net[^]
http://www.vbnettutorial.net/?Id=135&Desc=VB.net-ComboBox-AutoComplete[^]
Here[^] is a free control download.
使用Anthem自动完成控件.
Use Anthem autocomplete control. It may be best for you.
使用诸如AjaxAutocomplete Extender/Jquery插件之类的自动完成选项非常有用
using auto complete options like AjaxAutocomplete Extender /Jquery plugins is usefull
这篇关于在数据库中的文本框中显示选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文