开发者

How can I implement filtering in the DataGridView control?

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 anybo开发者_JS百科dy help me do this?


It's hard to tell from your question what exactly you're trying to do. In general, people are not going to give you a complete, working solution as an answer. You'll have to do most of the programming work yourself; we're only here to help out if you run into a snag along the way, not write your code for you.
In the future, please try to put more effort into your questions than simply posting your requirements.

That being said, you might want to check out these sample projects:

  • DataGridView Filter Popup
  • DataGridView Filter Popup (yes, these are two different articles, despite having the same name)
  • Datagridview with filtering capability
  • A Filter Dialog for a DataGridView
  • DataGridView Filtering User Control


This may help

how to filter datagridview with user control popup

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜