DataRowAdded事件
If currentTable.Name = "窗口1_Table1" Then
e.DataRow("类别") = "AA"
ElseIf currentTable.Name = "窗口1_Table2" Then
e.DataRow("类别") = "BB"
End If