dataadpter to insert records in existing data table
<p>i am using the following code to insert a datatable to an existing table of database
but it's giving exception "Update requires a valid InsertCommand when passed DataRow collection with new rows"</p>

<p>where query is select * from placed_student</p>

<pre><code>  public Boolean insert(string query, DataTable dt)
        {
            try
            {
                SqlDataAdapter sqlDA = new SqlDataAdapter(query, _sqlCon);
                DataTable dtValues = new DataTable();
                sqlDA.Fill(dtValues);
                sqlDA.Update(dt);
                return false;
            }
            catch(Exception ex)
            {
                logger.Error("Error when executing Query ", ex);
                return false;
            }
        }
</code></pre>
