How to find the row ID from datagridview, given a row value?

Posted by user361108 on Stack Overflow See other posts from Stack Overflow or by user361108
Published on 2010-06-08T09:02:05Z Indexed on 2010/06/08 9:12 UTC
Read the original article Hit count: 168

Filed under:

Hi,

Can anyone help me please?

I have to find the row number from 1 selected array which I stored in one separate array and randomly I'm trying to get the row number from datagridview

http://serv8.enterupload.com/i/00246/aewglahmvpr5.jpg

In other words: if I know a column value for a given row in a datagridview (e.g. for this row, FirstName == 'Bud'), how can I get the row ID?

© Stack Overflow or respective owner

Related posts about c#