If e.DataCol.Name = "身份证号" Then
If e.NewValue Is Nothing Then
e.DataRow("学校") = Nothing
e.DataRow("姓名") = Nothing
Else
Dim dr As DataRow
Dim dr1 As DataRow
Dim dr2 As DataRow
dr = e.DataRow.GetParentRow("录用人员")
If dr IsNot Nothing
e.DataRow("学校") = dr("学校")
e.DataRow("姓名") = dr("姓名")
Else
dr1 = e.DataRow.GetParentRow("备选人员")
If dr1 IsNot Nothing
e.DataRow("学校") = dr1("学校")
e.DataRow("姓名") = dr1("姓名")
Else
dr2 = e.DataRow.GetParentRow("淘汰人员")
If dr2 IsNot Nothing
e.DataRow("学校") = dr2("学校")
e.DataRow("姓名") = dr2("姓名")
End If
End If
End If
End If
End If