title: Creating a new DataRow into an existing DataTable
body: <p>Greets!  I am trying to create a DataRow and add it to an existing DataSet/DataTable.  The problem I am running into is that the tables do not seem to be propagating correctly.  I know the table exists yet it won't give me anything but null in return.  Any ideas?</p>
  
  <p>Code:</p>
  
  <pre><code>var TownDataSet = new DataSet("newDataSet");
  var checkDataSet = new DataSet();
  var checkDataTable = new DataTable();
  var dataTableName = "someDataSet";
  checkDataSet = TownDataSet.Clone();
  checkDataTable = TownDataSet.Tables[dataTableName];
  Console.WriteLine("STEP 4 " + checkDataSet.DataSetName);
  Console.WriteLine("STEP 5 " + checkDataSet.Tables.Count);
  Console.WriteLine("STEP 6 " + checkDataTable.TableName);
  </code></pre>
  
  <p>Error when I get to Step 6:</p>
  
  <pre><code>STEP 4 newDataSet
  STEP 5 7
  DataTableInsertTemp: System.NullReferenceException: Object reference not set to an instance of an object.
  </code></pre>