Reputation: 370
So, I know my code for the database connection and reader is functional, because it has worked for me many times before, however, something about this SQL query: gives this error message:
when this data is inputted: This is the database table that I am trying to add the data to:
Upvotes: 2
Views: 181
Reputation: 54417
The issue is that you are using "password" as a column name and that's a reserved word in Jet SQL. Either change the name or escape it in SQL code. You do the latter by wrapping it in square brackets []
.
Upvotes: 2