title: 'No value given for one or more required parameters.' Error, Can't get over it
body: <p>I'm trying to take a Yes/No value from my database on Access and make it so if the Yes/No is checked on Access it will check it on the form. Although I keep getting     </p>
  
  <blockquote>
    <p>System.Data.OleDb.OleDbException: 'No value given for one or more required parameters.' </p>
  </blockquote>
  
  <p>On the line <code>Dim rs As OleDbDataReader = SQLCmd.ExecuteReader()</code></p>
  
  <p>Sorry if it's a really easy and stupid mistake, I'm a college student and googling isn't helping me figure this one out.</p>
  
  <pre class="lang-vb prettyprint-override"><code>cn.Open()
  
  Dim SQLCmd As New OleDbCommand
  SQLCmd.Connection = cn
  SQLCmd.CommandText = "SELECT *, staffIn FROM Staff WHERE staffName = DarrenSloan"
  Dim rs As OleDbDataReader = SQLCmd.ExecuteReader()
  
  While rs.Read
  
      Dim DisplayValue As String = rs("staffIn")
      SQLCmd.Parameters.AddWithValue("@inorout", inOrOut.Checked)
      SQLCmd.ExecuteNonQuery()
  
  End While
  
  cn.Close()
  </code></pre>