Datatable.merge like join
<p>I have two <code>DataTables</code> like this:</p>

<pre><code>DataTable dt1 = new DataTable();
DataTable dt2 = new DataTable();
</code></pre>

<p><code>dt1</code>:</p>

<p><a href="https://i.stack.imgur.com/ntfVb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ntfVb.jpg" alt="enter image description here"></a></p>

<p><code>dt2</code>:</p>

<p><a href="https://i.stack.imgur.com/FbaCW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FbaCW.jpg" alt="enter image description here"></a></p>

<p>I need to merge two <code>DataTables</code> and set to <code>GridView</code> like this:</p>

<pre><code>dt1.Merge(dt2, true, MissingSchemaAction.Add);
GridView1.DataSource = dt1;
GridView1.DataBind();
</code></pre>

<p>But getting output like this:</p>

<p><a href="https://i.stack.imgur.com/xq28o.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xq28o.jpg" alt="enter image description here"></a></p>

<p>How can I merge like this?</p>

<p><a href="https://i.stack.imgur.com/FehON.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FehON.jpg" alt="enter image description here"></a></p>