title: Restoring Previous cell value in c# datagridview
body: <p>I want to restore the previous value of a cell of a DataGridView. I am currently using the ESC button but I do not want to use it.
  How can I achieve this?</p>
  
  <pre><code>if (string.IsNullOrEmpty(e.FormattedValue.ToString()))
  </code></pre>
  
  <p>If this condition is true, I want to re-assign the previou value of the cell and keep control in cell itself.
  The above code is executed on CellValidating event.</p>