title: DataReader exception : Invalid attempt to call Read when reader is closed
body: <p>Why am I getting an datareader exception: <strong>Invalid attempt to call Read when reader is closed.</strong> When I stepped through using the debugger the program crash on            while (dbReader.Read()). dbReader is wrapped around a using statement so I don't understand how the reader is closed.</p>
  
  <pre><code> using (OleDbDataReader dbReader = dbCommand.ExecuteReader())
   {
      if (dbReader.HasRows)
      {
         dataTable.Load(dbReader);
  
         while (dbReader.Read())
         {
            //Processing
         }
      }
   }
  </code></pre>