newbie question:how can we read the value of a cell of a datagridview in a click event ?

  • Thread starter Thread starter giannis
  • Start date Start date
G

giannis

With what expression we read the value of a cell of the first column
in a click event ?
 
giannis said:
With what expression we read the value of a cell of the first column
in a click event ?

is it correct ?

datagridview.Rows(datagridview.CurrentCell.RowIndex).Cells(0).Value
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top