表格datacolchanged事件
If e.DataCol.name = "计划完成时间" OrElse e.DataCol.name = "完成时间"
If e.DataRow.isnull("计划完成时间") OrElse e.DataRow.isnull("完成时间") Then
Else
Dim d1 As Date = e.DataRow("计划完成时间")
Dim d2 As Date = e.DataRow("完成时间")
If d1 < d3 Then
e.DataRow("完成状态") = "超时完成"
Else
e.DataRow("完成状态") = "按时完成"
End If
End If
End If
完成和按时完成有啥区别?超期完成和超时完成又有啥区别?