DataColChanged事件,写代码
If e.DataCol.Name = "合格与否" Then If e.DataRow("合格与否")="Y" Then e.DataRow("外观")= "Y" End IfEnd If