DataColChanged 事件
If e.DataCol.Name = "逻辑列" Then If e.NewValue = True Then e.DataRow.Locked = True End IfEnd If