title: there is already an open datareader associated with this command which must be closed first. vb.net 2010
body: <pre><code>CMD = New SqlCommand("Select * From Jenis where KodeJenis='" &amp; CBjenis.Text &amp; "'", CONN)
  
  RD = CMD.ExecuteReader()
  CONN.Open()
  RD.Read()
  
  If RD.HasRows = True Then
       TextBox2.Text = RD.Item(1)
  Else
       MsgBox("Kode jenis ini tidak terdaftar")
  End If
  </code></pre>
  
  <p>what problem ?</p>