title: dataGridView default error dialog handle
body: <p>I am trying to hide default datagridview error dialog.
  I put in the code this event handler:</p>
  
  <pre><code>        this.dataGridView2.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(dataGridView2_DataError);
  
  
      private void dataGridView2_DataError(object sender, DataGridViewDataErrorEventArgs e)
      {
          //empty so it doesn't show anything
      }
  </code></pre>
  
  <p>But still when i try this and leave datagridview cell empty ( delete everything from it), it show me dialog box with error.</p>
  
  <p>Screenshot of error:</p>
  
  <p><a href="https://i.stack.imgur.com/hqsz4.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/hqsz4.jpg" alt="enter image description here"></a></p>