title: MySqlException (0x80004005): There is already an open DataReader associated with this Connection which must be closed first
body: <p>I only use DataReaders two times within my application both times it looks like this</p>
  
  <pre><code>    MySqlDataReader reader = cmd.ExecuteReader();
      while (reader.Read())
      {
         //Code
      }
      reader.Close();
  </code></pre>
  
  <p>Can anyone give me some pointers on how to solve this error? Or where to look? Sorry if it's too vague but that's what the error is telling me. It points to this point:</p>
  
  <pre><code>        MySqlCommand cmdDel = new MySqlCommand("UPDATE " + _Database + " SET balance=" + balance + ", bitaddress=" + myads + ", lostbalance=" + lostbalance + " WHERE username = '" + username + "'", connection);
          cmdDel.ExecuteNonQuery();
          cmdDel.Dispose();
  </code></pre>
  
  <p>My guess is that executing query commands could be not allowed inside of a while(reader.Read()) can anyone confirm on this?</p>