如何在文本框中将选项作为用户类型 [英] How Can I Give Options As User Types In Text Box
本文介绍了如何在文本框中将选项作为用户类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如谷歌搜索所示,当用户在文本框中键入几个字符时,文本框下方会显示一个选项列表供他选择,我希望从文本框下方的sql server数据库中显示类似的选项。
请帮我提供代码/教程。我正在使用asp.net c#和sql server。
As seen in google search, as a user types a few characters in a text box, a list of options appears below the textbox from where he can select, I would like similar options to appear from my sql server database below a textbox.
Kindly help me with code / tutorial. I am using asp.net c# with sql server.
推荐答案
你好,
你可以找到这里的解决方案使用DataBase和AjaxControlToolkit进行自动完成 [ ^ ]
这个文章演示了文本框autocomplete fucntionality,我认为你正在寻找
Hi,
You can find the solution here AutoComplete With DataBase and AjaxControlToolkit[^]
This article demonstrates the textbox autocomplete fucntionality which is what I think you're looking for
自动完成扩展器的示例!...
自动完成扩展程序的简单示例 [ ^ ]
All The Best!。
Example for Auto complete Extender!...
Simple Example For AutoComplete Extender[^]
All The Best!.
如何在asp.net中使用ajax auto complete extender? [ ^ ]
这篇关于如何在文本框中将选项作为用户类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文