title: Copy Data Table to a Data Grid without binding them together
body: <p>I have two datagrids in my application (<code>dataGridView1</code> and <code>dataGridView2</code>). I am moving selected items from <code>dataGridView1</code> into <code>dataGridView2</code>. Here is how I am currently doing this:</p>
  
  <pre><code>DataTable dt = new DataTable("dt");
  DataTable id = new DataTable("id");
  try
  {
      if (dataGridView1.Rows.Count &gt; 0)
      {
          for (int i = 0; i &lt; dataGridView1.Rows.Count - 0; i++)
          {
              if (dataGridView1.Rows[i].Cells[0].Value != null)
              {
                  DataRow row;
                  DataRow idRow;
                  row = dt.NewRow();
                  idRow = id.NewRow();
                  idRow["id"] = dataGridView1.Rows[i].Cells[1].Value.ToString();
                  row["id"] = dataGridView1.Rows[i].Cells[1].Value.ToString();
                  row["Link Name"] = dataGridView1.Rows[i].Cells[2].Value.ToString();
                  dt.Rows.Add(row);
                  id.Rows.Add(idRow);
              }
          }
      dataGridView2.DataSource = dt;
  }
  </code></pre>
  
  <p>However, I also need to be able to remove items from <code>dataGridView2</code>. Currently, the DataTable <code>dt</code> is bound to <code>dataGridView2</code> and I cant clear it after the items are added because it also clears the <code>dataGridView2</code>.</p>
  
  <p>Basicly, my question would be, is there a way to add the contents of a data table to a data grid without using <code>datagrid.DataSource</code>?</p>