select case e.datacol.name
case "出piao人","出piao银行"
If e.NewValue IsNot Nothing AndAlso e.DataRow("出piao银行") Isnot Nothing Then
Dim dr As DataRow
dr = DataTables("pjtzhzb").Find("出piao人 = '" & e.NewValue & "'AND 出piao银行 = '" & e.NewValue & "'")
If dr Is Nothing
dr = DataTables("pjtzhzb").addnew
dr("出piao人") = e.NewValue
dr("出piao银行") = e.NewValue
End If
End If
end select