GridView数据过滤器 [英] GridView Data Filter
本文介绍了GridView数据过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在ASP.NET中的gridview中过滤和分组数据?
How to filter and grouping data within a gridview in ASP.NET?
推荐答案
您可以使用DataView及其行过滤器属性.
在filter事件中,只需使用dataview过滤数据,然后将过滤后的dataview用作网格的源即可.
要了解更多信息,请阅读此处: http://msdn.microsoft.com /en-us/library/system.data.dataview.rowfilter.aspx [
You can use DataView and it''s row filter property.
On the filter event, just filter the data using a dataview and then use the filtered dataview as the source of your grid.
To know more of it, read here: http://msdn.microsoft.com/en-us/library/system.data.dataview.rowfilter.aspx[^]
我刚刚在CP中发现了这一堆.
在具有搜索功能的GridView中显示大量数据 [带有搜索选项(SearchableGridView)的ASP.NET GridView [ GridView多个过滤器AJAX控件 [
I just found this bunch in CP.
Display Large Amount of Data in GridView with Search Functionality[^]
ASP.NET GridView with search option (SearchableGridView)[^]
GridView Multiple Filter AJAX Control[^]
这篇关于GridView数据过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文