退回修改前的值时出错
此主题相关图片如下:snipaste_2020-07-25_18-52-51.jpg
nms2 = {"面料到厂状态","产前样状态","上车位状态","初样状态","面料确认状态","辅料确认状态","初样_计划时间","初样_实际时间","产前样_计划时间","产前样_实际时间","面料到工厂_计划时间","面料到工厂_实际时间","产前会_时间","上车位_计划时间","上车位_实际时间","大货资料转交_计划时间","大货资料转交_实际时间"}
For Each nm2 As String In nms2
If e.DataRow.OriginalIsNull(nm2) Then
e.DataRow(nm2) = Nothing
Else
e.DataRow(nm2) = e.DataRow.OriginalValue(e.DataRow(nm2))
End If
Next