Re: Error on DataGridview
And what exactly did you do to generate that error?
Re: Error on DataGridview
I've found this code to solve problems in most cases...
Code:
Private Sub Grid_DataError(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewDataErrorEventArgs) Handles Grid.DataError
If Disposing Then
e.ThrowException = False
Else
MsgBox("Rij " & e.RowIndex & " Kolom " & e.ColumnIndex & " Melding " & e.Exception.Message)
End If
End Sub
These errors can occur on Disposing a grid due to some handlers like RowChanged being still being handled
Another way of course is to check on Disposing in all the events you handle on this grid.
Re: Error on DataGridview
Hello,
I am encountering this error when the focus is set to a cell in the Datagridview and in my code i have cellendedit function so does it affect?
Thank you
Hiba