下拉组合框问题 [英] Question For Dropdown Combo Box

查看:98
本文介绍了下拉组合框问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个连接到数据库的下拉列表,在旁边下拉列表中有1000个客户名称,当我要搜索名称时,很难知道该名称.
谁能帮我输入任何字符,然后显示与该字符相关的所有名称.
它通过使用Web服务来工作,但是应该是一个文本框,但是在下拉列表中需要它.
请帮助我......

I have a dropdown list which has connected to database, In side The drop down list 1000 customer name is there, when I want search a name it is very difficult to know the name.
Can any one help me that when I will enter any character then that character related all name will display.
It is working by using web services but that should be a textbox, but I need It in dropdown list.
Please help Me...............

推荐答案



我认为默认情况下,当您键入任何字符时,下拉列表都会带有该名称,它将直接使用您的名字.如果您希望所有名称都使用jQuery下拉列表或编写一些代码来重新绑定您的下拉列表.

希望这对您有帮助
Hi,

I think dropdown list has it by default when you type any charcter it will directly take you that name. If you want all names make use jquery dropdown or write some code to rebind your dropdownlist.

Hope this helps


检查此链接

使用AJAX.NET库自动建议

http://www.asp.net/ajax/视频/如何使用aspnet-ajax-自动完成控制
check this link

Auto Suggest Using AJAX.NET Library

http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-autocomplete-control


由于Asp.net不提供组合框,因此您必须创建自己的自己的WebControl

此处的相关链接
As Asp.net doesn''t provide combobox, you have to creat your own WebControl

Related link here


这篇关于下拉组合框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆