title: How to empty a datagridview?
body: <p>I don't know what is the syntax for emptying a datagridview. Please help me here is my code.</p>
  
  <pre><code>if (cboProduct.SelectedIndex != -1)
      load_variant();
  else
      //empty the datagridview
      cboProduct.SelectedIndex = -1;
  </code></pre>