我怎样才能实现在DataGridView控件过滤? [英] How can I implement filtering in the DataGridView control?

查看:219
本文介绍了我怎样才能实现在DataGridView控件过滤?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发,它使用一个DataGridView用于从所述表表示数据的应用程序。我想过滤器行添加到DataGridView。这意味着当用户点击过滤器按钮,然后在DataGridView应该在DataGridView的开头添加一个空行。并且如果用户输入了一些数据,这取决于哪个$在DataGridView p $ psent字段,然后在DataGridView应提供快速筛选在特定的细胞输入相关的输入。

I want to develop an application which uses a DataGridView for showing the data from the table. And I want to add the filter row to the DataGridView. It means when the user clicks on the filter button then the DataGridView should add an empty row at the beginning of the DataGridView. And if the user inputs some data, depending on the fields which present in the DataGridView, then the DataGridView should provide the quick filtering related to the input in the specific cell input.

任何人可以帮助我做到这一点?

Can anybody help me do this?

推荐答案

这可能有助于

<一个href="http://stackoverflow.com/questions/4256548/how-to-filter-datagridview-with-user-control-popup">how过滤datagridview的,用户可以控制弹出

这篇关于我怎样才能实现在DataGridView控件过滤?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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