Hi stanav,
will it really matter whether they click on the cell or the row as the line
VB Code:
  1. Dim rowIndex as integer = datagridview1.currentcelladdress.y
will give him the same index as would clicking on the row? I'm just asking out of curiosity...would the code i've suggested not work then (i admit i haven't tested it....but it should achieve the results required)