title: get rid of blank rows at the end in DataGridView
body: <p>I have a very strange issue with a <code>DataGridView</code>, whenever I try to put some data through queries I get one extra blank row at the end. 
  How do I remove it?</p>
  
  <p><img src="https://i.stack.imgur.com/onSwU.jpg" alt="enter image description here"></p>