I wrote a set of codes for a C# program to insert a record into the Access database. Here's the code:
OleDbCommand cmd = new OleDbCommand("INSERT INTO Deployment ([DateTransacted], [ProductType], Brand, Model, SerialNo, Assignment) VALUES ('May 20, 2013', 'LAPTOP', 'ASUS', 'K55V', 'ABCD1234', '10F HRD',)", cnn);
cmd.CommandType = CommandType.Text;
cnn.Open();
cmd.ExecuteNonQuery();
cnn.Close();
The program is executable. However, an error popped up saying:
Syntax Error in INSERT INTO statement
The [DateTransacted] is a string type. What should I do?