title: adding a datatable in a dataset
body: <p>I'm adding a datatable to a dataset like this:</p>
  
  <pre><code>DataTable dtImage = new DataTable();
  //some updates in the Datatable
  ds.Tables.Add(dtImage);
  </code></pre>
  
  <p>But the next time, when the datatable gets updated, will it be reflected in the dataset? or we need to write some code to make it reflected?</p>
  
  <p>Also, I'm checking the dataset if the datatable exists in the dataset already using:</p>
  
  <pre><code>if(!ds.Tables.Contains("dtImage"))
      ds.Tables.Add(dtImage);
  </code></pre>
  
  <p>In the first iteration, <code>ds.Tables.Contains("dtImage")</code> is false, so, <code>ds.Tables.Add(dtImage)
  </code> adds the table to the dataset. But in the second iteration, <code>ds.Tables.Contains("dtImage")</code> is false again, but <code>ds.Tables.Add(dtImage)</code> throws an error:</p>
  
  <blockquote>
    <p>Datatable already belongs to this dataset.</p>
  </blockquote>
  
  <p>If the dataset doesn't contain the datatable named "dtImage", why is it throwing an error?</p>
  
  <p><strong>Update: Thanks, that issue got solved. Pls answer this:</strong></p>
  
  <blockquote>
    <p>But the next time, when the datatable gets updated, will it be
    reflected in the dataset? or we need to write some code to make it
    reflected?</p>
  </blockquote>