使用文本框和下拉列表在数据库中搜索 [英] Search in database using textbox and dropdownlist
本文介绍了使用文本框和下拉列表在数据库中搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Heey all
现在我已经使用了2天搜索谷歌的更好的部分,关于如何使我的搜索引擎
所以现在我在这里向你们求助。
在我的主页上我有一个文本框(这里你必须输入你要找的东西)和文本框旁边我有一个下拉列表(显示类别)
搜索引擎必须在我的产品表中搜索,但仅限于指定类别的产品。
:)
Heey all
now i have used the better part of 2 day seaching google, on how to make my Search Engine
so now im here asking for you all for help.
on my masterpage i have a textbox (here u have to type what u are looking for) and beside the textbox i have a dropdownlist(showing categories)
the search engine have to seach in my "product table" but only under the products that are in the specified category.
:)
推荐答案
如果您正在寻找Google功能,那么您可以选择Ajax AutoComplete Extender。
请参阅以下链接。
自动完成演示 [ ^ ]
Ajax AutoCompleteExtender示例或不使用网络服务的样本 [ ^ ]
ASP.Net中的AutoCompleteExtender使用Webservice从数据库调用 [ ^ ]
如何在Asp.Net中使用Ajax AutoCompleteExtender [ ^ ]
希望它有所帮助。
Hi,
if you are looking Google like feature then you can go for "Ajax AutoComplete Extender".
refer below links.
AutoComplete Demonstration[^]
Ajax AutoCompleteExtender example or sample without using webservice[^]
AutoCompleteExtender in ASP.Net calling from database using Webservice[^]
How To Use Ajax AutoCompleteExtender in Asp.Net[^]
hope it helps.
这篇关于使用文本框和下拉列表在数据库中搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文