title: Selecting 2 named ranges from excel in a OleDBCommand
body: <p>Here is my code as of now:</p>
  
  <pre><code>OleDbCommand cmd1 = new OleDbCommand("SELECT * FROM Id, Number", cn);
  OleDbDataReader reader = cmd1.ExecuteReader();
  while( reader.Read() )
  {
      results.Add((int)reader["Id"], (int)reader["Number"]);
  }
  </code></pre>
  
  <p>Id and Number are named ranges in my excel file. I am attempting to return a <code>dictionary&lt;int, int&gt;</code> with the results of this query.</p>
  
  <p>The issue is that the line <code>reader["Id"]</code> is throwing an exception. When I debug the result set I can see that it has the correct value for Id. Am I retrieving the data incorrectly?</p>
  
  <p><strong>Bonus:</strong> I also need to only return rows where Number is not null. I was hoping I could just add <code>where Number is not null</code> to the OldDbCommand, but that also threw an exception.</p>
  
  <p>Is that anything you guys can see that I am doing wrong here?</p>
  
  <p>Thanks!</p>