How I can Merge two datatable into one datatable in c#
<p>I have tow datatables and i want to merge them and want the output like this;</p>

<p>Table1 values:</p>

<pre><code>FirstName   LastName    
  AAA         BBB         
  AAA         BBB
</code></pre>

<p>Table2 values:
*</p>

<pre><code>FullName
  CCC
  CCC
</code></pre>

<p>*</p>

<p>now i want that FullName's value and FirstName's value merge into One column of Firstname
and out should be like that after merging....</p>

<pre><code>FirstName   LastName    
  AAA         BBB         
  AAA         BBB         
  CCC
  CCC   
</code></pre>

<p>Both out tables have the column of FirstName and LastName from dtable1 and FullName from dtable2                   </p>

<p>i have this code in my c# application</p>

<pre><code>             DataSet firstGrid = new DataSet();
            DataSet secondGrid = new DataSet();
            DataTable table1 = dataGridView3.DataSource as DataTable;
            DataTable table2 = dataGridView2.DataSource as DataTable;
            DataColumn[] colunm = new DataColumn[table1.Columns.Count];



            DataTable table3 = new DataTable();
           // table3.;
            table3 = table1.Copy();

            table3.Merge(table2);
            dataGridView1.DataSource = table3;
</code></pre>
