我正在尝试执行此语句以将一些值插入数据库。
com = new SqlCeCommand("INSERT INTO [cars table]"
+ "([Car reg no],[MOT expiry date], Mileage,[Other information])"
+ "VALUES (" + m._INSERTCarRegNo + "," + m._INSERTExpiryDate + ","
+ m._INSERTMileage + "," + m._INSERTotherInformation
+ ")",this.returnConnection);
以上是我的陈述,但我得到一个错误,错误是无法解析字符串。谁能帮我吗?
谢谢