I started learning C# last week and I\'m now having trouble with an INSERT sql statement. I used the following code, then I tell you what happens.
private void A
You've got a table with the name "User", but that's a reserved keyword.
You could rename the table, or enclose it in brackets when you reference it:
string commandText = "INSERT INTO [User] (firstName ...