Friday, March 5, 2010

DataGridView Default Error Dialog

Soluation
---------------------
Private Sub DataGridView1_CellEndEdit(ByVal sender As Object, _
ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) _
Handles DataGridView1.CellEndEdit
Try
'
'all of your main logic goes here
'
Catch ex As Exception
MessageBox.Show(ex.Message)
'...
End Try

End Sub

No comments: