title: how to convert a datatable using a reference datatable asp.net
body: <p>I am finding difficulties to convert a datatable to a new datatable using a reference datatable. My question is confusing and I am not good at explaining things so I drew a picture (see below).</p>
  
  <p>I have two datatables on memory and I need to create the third datatable using the second mapping table for reference. The column names are just for example and it can't be hardcoded.  </p>
  
  <p>Hope someone can help me. Thanks a lot.</p>
  
  <p><img src="https://i.stack.imgur.com/S5RUZ.jpg" alt="enter image description here"></p>