How to wait for the user to select one of the datagridview rows?

Posted by Jhon on Stack Overflow See other posts from Stack Overflow or by Jhon
Published on 2010-03-17T20:09:01Z Indexed on 2010/03/17 20:11 UTC
Read the original article Hit count: 308

Filed under:
|
|
|
|

I have a datagridview populated with some Names, I want to perform a check of all the Name in another database with the Names in datagridview and add the Surnames to the adjacent cell when a match is found, this I am achieving by string compare method.

My Problem is that due to typing inconsistencies & at times with two people having same names some of the names are not being adjudged properly.

What I want is to give user the choice to either choose one of the names present in Datagridview which they consider is best match or enter both First Name & Surname in a new row. To achieve this I want the program to wait until user has clicked on one of the rows in the datagridview.

Is there a way to wait to this effect?

Thanks Jhon

© Stack Overflow or respective owner

Related posts about datagridview

Related posts about wait