Asp.net的搜索引擎代码 [英] Search Engine Code for Asp.net

查看:71
本文介绍了Asp.net的搜索引擎代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是madan.我在asp.net中开发了一个带有搜索框的网站.如果用户输入要在整个数据库表中搜索的任何数据,以及是否有匹配的关键字可以显示任何数据绑定控件, />


请帮帮我..


问候,
Madan

hi this is madan .I developing a web site in asp.net that project having the search box.if user enter any data that will be search on whole database tables and if any keyword matching that will show any databound control



Please help me..


Regards,
Madan

推荐答案

您需要组合以下链接中的概念:
http://sqlservercodebook.blogspot.com/2008/11/how-to- search-entire-database.html [ ^ ]
http://msdn.microsoft.com/en-us/magazine/cc163355.aspx [ ^ ]
http://博客. msdn.com/b/jhawk/archive/2007/05/06/mix07-search-capabilities-for-dynamic-web-content.aspx [ http://blogs.msdn.com/b/dougste/archive/2008/02/28/asp-net-setting-search-tip.aspx [使用IFilter进行全文搜索 [ http://stackoverflow.com/questions/5878914/create- search-engine-for-site-in-asp-net-c [
You need to combined concepts from the following links:
http://sqlservercodebook.blogspot.com/2008/11/how-to-search-entire-database.html[^]
http://msdn.microsoft.com/en-us/magazine/cc163355.aspx[^]
http://blogs.msdn.com/b/jhawk/archive/2007/05/06/mix07-search-capabilities-for-dynamic-web-content.aspx[^]
http://blogs.msdn.com/b/dougste/archive/2008/02/28/asp-net-setting-search-tip.aspx[^]
Full-text searching with IFilter''s[^]
http://stackoverflow.com/questions/5878914/create-search-engine-for-site-in-asp-net-c[^]


您将必须在提交时执行查询

You''ll have to execute query on submit

Select * from table where Columnname like ''%"+textbox1.Text+"%''"


这篇关于Asp.net的搜索引擎代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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