MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
As you can see in the sample code, I tried two different methods, but neither works. Both throw the error:
Private Sub DataGridView1_CellEnter(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEnter If e.ColumnIndex = 0 Then 'DataGridView1.Rows(e.RowIndex).Cells(1).Selected = True 'Didn't Work DataGridView1.CurrentCell = DataGridView1.Item(1, e.RowIndex) 'Didn't Work too End If End Sub
Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function.
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|ASP.NET (VB) return a record||2||52|
|How to share My.Settings in multiple application instances ?||7||53|
|Crystal reports login after closing form||3||36|
|Stop Git from being my repository||1||26|