You are here:

C#/DatagridviewCell in c#.net

Advertisement


Question
hi,i have created a tool in c#.net which displays data in a datagridview.i have provide a 'Find' button for searching a word in the whole datagridview.but,i am able to highlight the whole cell containg that word.i want to highlight only that word.i am not able to get the selected text from the current cell.please tell me how to do that.

Answer
Hi

Sorry for the delay, i was away!! (Still away)

You can do it thru javascript

here are some of the sample

http://eriwen.com/javascript/highlight-search-results-with-js/

http://www.tedpavlic.com/post_highlighting_search_results_with_ted_searchhi_java...

Hope helps.

Thanks

-Srini

C#

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Expertise

can answer any kind of questions in ASP.NET, C#, VB.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, Coldfusion, Powerbuilder

©2012 About.com, a part of The New York Times Company. All rights reserved.