Dim Cols1() As String = {"Identify","供方确认到货日期"} Dim Cols2() As String = {"_Identify","orderSupDhTime"} For Each dr1 As DataRow In DataTables("供方到货日期确认窗口_Table1").Select("供方确认到货日期 Is not null") Dim nr As Date = dr1(Cols1("供方确认到货日期")) Dim xh As Integer = dr1("Identify") Dim dr As DataRow dr = DataTables("orderList").Find("[_Identify] = '" & xh & "'") If dr IsNot Nothing Then dr("orderSupDhTime") = nr End If Next
|