title: data type mismatch in criteria expression vb.net access
body: <p>This My Code</p>
  
  <p>Public Function simpan() As Integer
          Dim sql As String
          Dim cmmd As OleDbCommand</p>
  
  <pre><code>    sql = "INSERT INTO disposisi    (nodisposisi,noagendamasuk,idseksi,intruksi,tgldisposisi,nosurat,perihal,nama)" &amp; _
      "values(?,?,?,?,?,?,?,?)"
      cmmd = New OleDbCommand(sql, cnn)
      cmmd.CommandType = CommandType.Text
      cmmd.Parameters.AddWithValue("nodisposisi", FNoDisposisi)
      cmmd.Parameters.AddWithValue("noagendamasuk", FAgenda)
      cmmd.Parameters.AddWithValue("idseksi", FIdSeksi)
      cmmd.Parameters.AddWithValue("intruksi", FIntruksi)
      cmmd.Parameters.AddWithValue("tgldisposisi", FTgl)
      cmmd.Parameters.AddWithValue("nosurat", FNoSrt)
      cmmd.Parameters.AddWithValue("perihal", FPerihal)
      cmmd.Parameters.AddWithValue("nama", FNama)
  
      Return cmmd.ExecuteNonQuery()
  End Function
  </code></pre>
  
  <p>I don't know what i do please help me</p>