Click here to Skip to main content
15,902,764 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
results of particular search will show in a dataGridView.
now, we search an item in a textBox so that it indicate one record in the dataGridView and show it.
is it possible?how?
Thanks
Posted

1 solution

Yes it is possible.
You can search through the datasource for the grid, find the text that was entered in the textbox, and then highlight the first row where this search is found.

Given you have keys that can help you identify rows in your source and grid, it should be fairly easy to do.
 
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