Click here to Skip to main content
15,909,827 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I want a code to search particular text in data grid on key press event.
Posted

1 solution

wrote:
I want a code to search particular text in data grid on key press event.


I am always confused when people ask for such specific code. You can't take the code to search for text, and apply it on a key press event yourself ?

Assuming you don't have a data source you can apply SQL to ( which is what you'd usually do ), you'd iterate over the cells and use Regex or the methods of the string class to find if your string matches, I guess.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900