使用ASP.NET C#自动填充文本框中的数据 [英] Auto fill data in textbox using asp.net C#
本文介绍了使用ASP.NET C#自动填充文本框中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
在我的一个应用程序中,如果我按"a"键,则文本框必须自动填充与列表中的文本框中的数据库中所有与数据相关的"a".
我如何开发它……
hi everybody,
In one of mine application, if i press key ''a'' then textbox have to autofill the ''a'' related all data from database in the text box like list.
how can i develop it......
推荐答案
看看ajax自动完成
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx [ ^ ]
Take look at ajax auto complete
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^]
您似乎正在寻找一种叫做自动完成"的东西.请参阅:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx [ ^ ],
http://www.asp.net/ajaxLibrary/act_AutoComplete_Reference.ashx [ http://www.asp.net/ajaxlibrary/act_AutoComplete_Simple.ashx [ http://www.asp.net/ajaxlibrary/HOW%20TO%20Use% 20the%20AutoComplete%20Control.ashx [ ^ ].
关于使用数据库自动完成,请参阅此CodeProject文章:
通过DataBase和AjaxControlToolkit自动完成 [
It looks like you are looking for something called "auto-complete". Please see:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^],
http://www.asp.net/ajaxLibrary/act_AutoComplete_Reference.ashx[^],
http://www.asp.net/ajaxlibrary/act_AutoComplete_Simple.ashx[^],
http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20AutoComplete%20Control.ashx[^].
As to auto-complete with a database, please see this CodeProject article:
AutoComplete With DataBase and AjaxControlToolkit[^].
—SA
尝试
之一 http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx [ ^ ]
http://www.asp.net/ajaxLibrary/act_AutoComplete_Simple.ashx [ http://www.dotnetcurry.com/ShowArticle.aspx?ID=515 [ ^ ]
http://www.youtube.com/watch?v=EsjRuEmJ9ec [
Try one of
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^]
http://www.asp.net/ajaxLibrary/act_AutoComplete_Simple.ashx[^]
http://www.dotnetcurry.com/ShowArticle.aspx?ID=515[^]
http://www.youtube.com/watch?v=EsjRuEmJ9ec[^]
这篇关于使用ASP.NET C#自动填充文本框中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文