BeforeLoadInnerTable
如果还有其他表:
Select Case e.DataTableName Case "表A","表B","表C","表D","表E" e.Cancel = TrueEnd Select
如果就这五个表:
e.Cancel = True
菜单代码:
If DataTables.Contains("表A") = False Then '如果表A没有加载 DataTables.Load("表A") '加载表A
End If