在文本框中预先搜索c# [英] Advance search in textbox c#
本文介绍了在文本框中预先搜索c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在论坛中有一个文本框我希望用户输入文本,我的文本框搜索就像用户输入A一样,下拉列表应该是可见的,其中所有从A开始的东西都来自我的数据库
解决方案
您好,
参考此链接,
自动完成文本框
问候,
SJ
文本框选择索引的填充下拉列表已更改。写一个使用where子句的SP。
例子:其中dropdowntext如''A%''
希望这会对你有帮助。
I''ve a textbox in my forum I want user to enter text and my textbox searches that like If user enter "A" a dropdown list should be visible where all things starting from A should come from my database
解决方案
Hi,
refer this link,
Auto Complete Text Box
Regards,
SJ
Fill dropdown on textbox selected index changed. Write a SP which use a where clause.
example: where dropdowntext like ''A%''
Hope this will help you..
这篇关于在文本框中预先搜索c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文