If e.DataCol.Name = "出仓单号" OrElse e.DataCol.name = "进程单号" Then If e.DataRow.Isnull("出仓单号") = False Then Dim fdr As DataRow = DataTables("主表").Find("出仓单号 = \'" & e.DataRow("出仓单号") & "\'") If fdr IsNot Nothing Then fdr("进程单号") = e.DataRow("进仓单号") End If End If End If