title: Update requires a valid InsertCommand when passed DataRow collection with new rows
body: <p>I am trying to add a new row to my database . Here is my code :</p>
  
  <p>ds1 is my Dataset , da1 is my data adapter </p>
  
  <pre><code>        dRow = ds1.Tables["localitati"].NewRow();
          dRow[1] = aux1.Replace(" ", "").Replace("-", "").ToLower();
          dRow[2] = aux2.ToLower().Replace(" ", "");
          dRow[3] = aux1;
          dRow[4] = e.X;
          dRow[5] = e.Y;
          ds1.Tables["localitati"].Rows.Add(dRow);
  
          da1.Update(ds1, "localitati");
  </code></pre>
  
  <p>at the <code>da1.update(ds1,"localitati");</code> the program stops and gives me the error : "<code>Update requires a valid InsertCommand when passed DataRow collection with new rows</code>."</p>
  
  <p>The connection to the database works ( i have retrieved info from the db )</p>
  
  <p>Any ideas ?</p>