在文本框中键入内容时,如何从数据库中获取字段的值 [英] How can we get the values of a field from the database while we are typing into the textbox
本文介绍了在文本框中键入内容时,如何从数据库中获取字段的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是类似
的要求
当我们在asp.net的文本框中输入字母时,我需要像在google中那样显示(数据库中可能有哪些可用的术语).
有人可以帮我吗?
谢谢您,先生,
here is a requirement like
while we are entering letters into the textbox in asp.net I need to display like in google(what are the possible terms are available for us from database).
can anyone help me regarding this?
Thanking you sir,
推荐答案
您正在寻找 ^ ].
Google for ^ ],您有很多实现此目的的示例.
You are looking for AutoComplete TextBox[^].
Google for autocomplete textbox asp.net[^] and you have a lot many examples to achieve this.
请参阅此链接.只需下载dll并使用
http://www.obout.com/combobox/aspnet_filtering.aspx [
see this link . just download dll and use
http://www.obout.com/combobox/aspnet_filtering.aspx[^]
这篇关于在文本框中键入内容时,如何从数据库中获取字段的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文