Select Case e.DataCol.Name
Case "部门编号"
If e.DataRow.IsNull("部门编号") = False Then
Dim dr2 As DataRow
dr2 = DataTables("档案").Find("[部门编号] = '" & e.DataRow("部门编号")& "' and _Identify <> " & e.DataRow("_Identify") And e.DataRow.IsNull("业务编号"))
If dr2 IsNot Nothing Then
dr2.delete
End If
End If
End Select
提示“调用的目标发生了异常”
调用的目标发生了异常。
从字符串“[部门编号] = '1213500' and _Identify”到类型“Boolean”的转换无效。
输入字符串的格式不正确。