接前天的例子(
http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&replyID=332533&ID=50792&skin=1)
想把表A、表B的第三列直接拷贝过来,而不加入到“.GetValues”,
这时要得到每次循环时,表A第三列的值。
请问怎么修改下面的代码:
For Each ary() As String In DataTables("表A").GetValues("第一列|第二列", "第一列 is not null and 第二列 is not null")
Dim ndr As DataRow = DataTables("表B").AddNew
ndr("第一列") = ary(0)
ndr("第二列") = ary(1)
Next