筛选资料 [英] Filtering Data

查看:83
本文介绍了筛选资料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在gidview控制器中显示表格的所有记录后,通过用户选择在任一列上应用过滤器,是否有任何可能性
如果存在,请提供此问题的示例代码

Hai

is there any posibility after displaying all the records of table in a gidview controller for applying filter on any one column by user selection
if there exist give a sample code for this problem

推荐答案

尝试此示例

行过滤器示例
try this example

row filter example


是的,您需要提供该特定行的索引值.

dgvGridName [row_Index,Col_index] .value.tostring().eqquals(cmbCmobotext.text)
因此您可以选择相应的组合框值作为过滤器.
yes you need to provide the index value for that particular row.

dgvGridName[row_Index,Col_index].value.tostring().eqquals(cmbCmobotext.text)
so using that you can select the respective combo box value as filter.


这篇关于筛选资料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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