Hi,
On my datagridview cellmouseclick event I have this code:
Now, at runtime when I click any cell on the header I receive the error message:Code:Index = e.RowIndex Dim selectedRow As DataGridViewRow selectedRow = DgTenantDetails.Rows(index)
What is wrong?Code:System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index'
Thank you!