So obviously it says I'm missing an operator in my query but I can't find where?
Dim updateStatement As String =
"UPDATE Customers SET " &
"Name = """ & txtName.Text & ", """ &
"Address = """ & txtAddress.Text & ", """ &
"City = """ & txtCity.Text & ", """ &
"State = """ & txtState.Text & ", """ &
"ZipCode = """ & txtZipCode.Text & ", """
There error looks like this:
A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in
System.Data.dll
Additional information:
Syntax error (missing operator) in query expression
'"Johnson, Ajith, "Address = "2200 Old Germantown Road, "City = "McGregor,
"State = "CA, "ZipCode = "55555 , "'.
Note that this is happening when I try to update a record
Edit: Also I am not using AddWithValue for a reason.
Edit 2: Yes I'm aware that this is a bad way to do this but this is how the instructor wants it.