For i As Integer = Tables("窗口1_table1").Rows.count-1 To 0 Step -1 Dim cr As Row = Tables("窗口1_table1").Rows(i) For Each dr As DataRow In DataTables("委托代理人").Select("姓名 = '" & cr("诉讼参加人") & "'") Dim r As Row = Tables("窗口1_table1").AddNew r("诉讼参加人") = dr("姓名") r("住所地") = dr("地址") r("诉讼地位") = dr("诉讼地位") r.Move(i+1) Next Next