adding the datagridview's row to datatable
<p>In the following code I am trying to add the selected row of datagridview to the datagridview's datasource if the selected row new row but it only adds 
"DataGridViewRow { Index=0 }" to the first column of the row and rest of the row is empty</p>

<pre><code>    if (dataGridView1.SelectedRows[0].IsNewRow)
        {
            _dt.Rows.Add(dataGridView1.SelectedRows[0]);
            dataGridView1.DataSource = null;
            dataGridView1.DataSource = _dt;
        }

        DataTable dtUpdated = (DataTable)dataGridView1.DataSource;
        dtUpdated.GetChanges();

        SqlCommandBuilder cb = new SqlCommandBuilder(_sqlDa);

        try
        {

            _sqlDa.Update(dtUpdated);
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.ToString());

        }
</code></pre>
