I add a line.
In the method UserAddingRow produce a check for correctness
But in this case, the error pops up and the line is added bodto.
How to leave the old look or paint this cell red?
In the method UserAddingRow produce a check for correctness
if (e.Rows [0] .Cells [1] .Value == null)
{
AlertOperation (new string [] {"No degree specified", "0"});
e.Cancel = true;
return;
}
But in this case, the error pops up and the line is added bodto.
How to leave the old look or paint this cell red?