不知道 是不是这样
dim barows as list (of datarow) =datatables("表A").select("[编号] <>''")dim a as string for each b as datarow in barows a = " [编号] = '"& b("编号") & " ' " & " or " & a nexta =a.remove(a.length-4)datatables("表C").loadfilter = adatatables("表c").load()