dataColChanged事件
If e.DataCol.Name = "工序编号" Then If e.NewValue = Nothing Then e.DataRow("工序数") = Nothing Else e.DataRow("工序数") = e.newValue.Split(",").Length End IfEnd If