title: Why does jgejala = drkonsultasi.item(0) evaluate to invalid operation?
body: <p>I have this code:</p>
  
  <pre><code>comkonsultasi = New OleDbCommand("select count(idkonsultasi) from dkonsultasi where idgejala='" &amp; idgejala &amp; "'", conn)
      drkonsultasi = comkonsultasi.ExecuteReader
      jgejala = drkonsultasi.Item(0)
  </code></pre>
  
  <p>When it runs, I get this exception message on the last line:</p>
  
  <blockquote>
    <p>InvalidOperationException was unhandled. No data exists for the row/column.</p>
  </blockquote>
  
  <p>Can anyone can help to resolve this problem?</p>