title: How to add new DataRow into DataTable?
body: <p>I have a <code>DataGridView</code> binded to a <code>DataTable</code> (<code>DataTable</code> binded to database). I need to add a <code>DataRow</code> to the <code>DataTable</code>. I'm trying to use the following code:</p>
  
  <pre><code>dataGridViewPersons.BindingContext[table].EndCurrentEdit();
  DataRow row = table.NewRow();
  
  for (int i = 0; i &lt; 28; i++)
  {
      row[i] = i.ToString();
  }
  </code></pre>
  
  <p>But it doesn't work, <code>DataGridView</code> has never been added a new row. Please, tell me, how can I fix my code? </p>
  
  <p>Thank you in advance. </p>