Hi stanav,
will it really matter whether they click on the cell or the row as the line
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)VB Code:
Dim rowIndex as integer = datagridview1.currentcelladdress.y




Reply With Quote