title: DataTable importrow skipping some values
body: <p>We have a function which does the following</p>
  
  <ul>
  <li>Given a DataRow</li>
  <li>Creates a clone of the dataset</li>
  <li>Imports the given row in the clone</li>
  </ul>
  
  <p>So far, we never had any issue with this. But, there is a condition which has occured where in, the row which is created after import is skipping/nulling out some values.</p>
  
  <p>I have really no clue as to why this is happening</p>
  
  <pre><code>private DataSet GetFullDataSetForCurrentRow(DataRow currentRow)
  {
      DataSet clone = null;
      if (currentRow != null)
      {
          clone = currentRow.Table.DataSet.Clone();
          // Get the parent row.
          DataRow rootRow = GetRootRow(currentRow);
          // Import the root row in the clone.
          clone.Tables[rootRow.Table.TableName].ImportRow(rootRow);
          // additonal code skipped...
      }
      return clone;
  }
  </code></pre>
  
  <p>So, the rootRow has the correct values, but if i inspect the imported row, its loosing/skipping some values.</p>
  
  <p>Check the screenshots.</p>
  
  <p><a href="https://i.imgur.com/92bLi2R.png" rel="nofollow noreferrer">https://i.imgur.com/92bLi2R.png</a>
  <a href="https://i.imgur.com/JIyHr4r.png" rel="nofollow noreferrer">https://i.imgur.com/JIyHr4r.png</a></p>