开发者

How To Implement Search Option To DataGridView?

Lasttime my question may not be clear.So I comeback with same clarification to get the answer.

I develop one small Windows Application.

In C# coding time while I press Ctrl+F then I can able to see Find Window.

Sim开发者_StackOverflowilarly I want to have a serch to my DataGridView, and its DataSource is MyTable1. When the user presses Ctrl+F then I would like to do search and locate on Particular Row-Column in DGV's DataSource column.

Is it possible? Or any other way?

Thanks For Ideas


Here's a link with a simple sample of DataGrid search and highlight.


the data table has a defualtview property, you can use the filter property to apply the search. its like sql but only with the part that comes after the where

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜