使用TEXTBOX从GRIDVIEW搜索记录 [英] Searching Records from GRIDVIEW using TEXTBOX

查看:117
本文介绍了使用TEXTBOX从GRIDVIEW搜索记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我的GRIDVIEW中有数百万条记录.

我需要在按键时使用Textbox搜索记录(就像Google一样)

Please Please Please有人可以建议我该怎么做吗?

尝试将近15天,但无法解决此问题.

我需要完全像Google一样的Google搜索.(要从GRIDVIEW中搜索记录)

谢谢,

Dear Friends,

I have Millions of Records in My GRIDVIEW.

I need to Search the Records using Textbox on key press (just like Google)

Please Please Please Can any one suggest me how to do this ?

Trying from almost 15 days but unable to comeup with this problem.

I need Exact Google Like SEARCH.( To search the Records from GRIDVIEW)

Thanks,

推荐答案

SQL Server 2008对全文本搜索"提供了技术支持,类似于google搜索数百万条记录.您可以在CodeProject SQL全文搜索编程中找到分步学习过程. [ ^ ]
SQL Server 2008 has the technology support for ''Full Text search'', which is similar to google like search for millions of records. You can find the step by step learning process at CodeProject SQL Full Text Search Programming[^]


请参考以下线程:

该线程将向您展示如何搜索ASP.NET GridView数据的所有列,并仅显示满足搜索文本的那些数据:带有DropDownList的GridView筛选器表达式ASP.NET [^ ]

ASP.NET GridView过滤 [ ^ ]


还可以查看此CP文章,这将为您提供一个从GridView派生的自定义控件,实现过滤,自定义首页传呼机和自定义底部传呼机.
具有分页和过滤功能的自定义GridView [
Please refer following threads:

This thread will show you how to search through all columns of ASP.NET GridView Data and show only those data which satisfies the search text: How to search through GridView records[^]

This example describes how to use GridView Filtering or Filter Gridview with DropDownList: GridView Filter Expression with DropDownList ASP.NET[^]

ASP.NET GridView Filtering[^]


Also have a look on this CP Article, this will give you a Custom control derived from GridView, implements filtering, custom Top pager, and custom Bottom pager.
Custom GridView with Paging and Filtering[^]


这篇关于使用TEXTBOX从GRIDVIEW搜索记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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