If e.DataCol.Name = "逻辑列名" AndAlso e.DataRow("逻辑列名") = True Then If e.DataRow.isnull("第一列") = False Then Dim dr As DataRow = DataTables("表B").AddNew For Each dc As DataCol In DataTables("表B").DataCols dr(dc.Name) = e.DataRow(dc.Name) Next End If End If