title: How to insert the checkbox "check" to my MS Access database
body: <p>Here is my database:</p>
  
  <p><a href="https://i.stack.imgur.com/xKfoi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xKfoi.png" alt="my database"></a></p>
  
  <p>Here is my code</p>
  
  <pre><code>OleDbCommand command = new OleDbCommand();
  command.Connection = connection;
  command.CommandText = "insert into StudentTable([StudentID], [Lastname], [Transferee]) values ('" +txtStudentID.Text+ "','" +txtLastname.Text +"',"' +chk.Transferee+ '")";
  command.ExecuteNonQuery();
  </code></pre>
  
  <p>Error is data type mismatch criteria expression</p>
  
  <p>How do I add the checkbox into my database check (not value of checkbox)?</p>
  
  <p>Thanks </p>