title: transfer dataRow to new dataset
body: <p>I have a dataset that I read in from a complex xml structure....</p>
  
  <p>here is a basic version of it, for the sake of the question</p>
  
  <pre><code>&lt;cars&gt;
      &lt;car&gt;
         &lt;carName&gt;Golf&lt;/carName&gt;
         &lt;engine&gt;
            &lt;model&gt;&lt;/model&gt;
         &lt;/engine&gt;
      &lt;//car&gt;
      &lt;car&gt;
         &lt;carName&gt;Dodge&lt;/carName&gt;
         &lt;engine&gt;
            &lt;model&gt;&lt;/model&gt;
         &lt;/engine&gt;
      &lt;//car&gt;
   &lt;/cars&gt;
  </code></pre>
  
  <p>Firstly I create the dataset to get the whole document.... (and I read this from file)</p>
  
  <pre><code> DataSet dsCars = new DataSet();
   dsConfiguration.ReadXml("allcars.xml"));
  </code></pre>
  
  <p>Next I want to loop through all car rows.. to do this I use the following code:</p>
  
  <pre><code> foreach(DataRow carDataRow in dsCars.Tables["Car"].Rows)
  </code></pre>
  
  <p>Now in this loop, I want to inject the car row (AND all its sub content) into a new dataset</p>
  
  <p>So in the foreach loop I have code to </p>
  
  <ol>
  <li>Create the new dataset</li>
  <li>Create a new datatable =  CarList2</li>
  <li>Import the row using : tempTaskTable2.ImportRow(carDataRow); </li>
  </ol>
  
  <p>But when I serialize to file using: tempTaskDS.WriteXml(@"c:\test.xml"); </p>
  
  <p>The newly created datatable = Carlist2 is blank and contains no data at all...</p>
  
  <p>What am I doing wrong?</p>