0

Every Time i click the save button it says that data type mismatch in criteria expression what does it mean?

Try
    command = New OleDb.OleDbCommand
    With command
        .Connection = cn
        .CommandType = CommandType.Text
        .CommandText = "INSERT INTO [tbl_monitoring] ([DelNum], [PlateNum], [Driver], [Helper], [DateDel], [Customer], [Product]) VALUES ([@DelNum], [@PlateNum], [@Driver], [@Helper], [@DateDel], [@Customer], [@Product])"
Ňɏssa Pøngjǣrdenlarp
  • 38,411
  • 12
  • 59
  • 178
NiewBiee2020
  • 29
  • 1
  • 10
  • Every Time i click the save button it says that data type mismatch in criteria expression what does it mean? pls help. – NiewBiee2020 Jul 16 '16 at 18:58
  • Not enough code there to tell much - in fact the exception cant come from one of those lines. The error message tells you it has to do with the Data Types, but you dont show the param values. – Ňɏssa Pøngjǣrdenlarp Jul 16 '16 at 19:10
  • Please [**check this answer**](http://stackoverflow.com/questions/28155538/how-do-you-trouble-shoot-a-data-type-mismatch-in-criteria-expression-error-in) I believe it is your issue and sounds like a duplicate... – Trevor Jul 16 '16 at 20:40

0 Answers0