VB Code:
Dim tb As New DataTable()
#Region " Windows Form Designer generated code "
'
'
'
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dim clm as DataColumn = New DataColumn("P", System.Type.GetType("System.String"))
tb.Columns.Add(clm)
AddHandler tb.RowChanged, New System.Data.DataRowChangeEventHandler(AddressOf TestEvents)
End Sub
Private Sub TestEvents(ByVal sender As Object, ByVal e As System.Data.DataRowChangeEventArgs)
MessageBox.Show("Something Happened")
End Sub