Ok so I am just starting to learn to program and have been reading quite a bit and wanted to try what should be a simple program. The only thing I am attempting is to put names into two textboxes and press submit and have them go into a table. I set up a DB and table both named 'Names' with rows Unique(PK w/ identifier), FirstName, and LastName.
I have used the code behind to place the following code for the button click. I am getting the following error: There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
using System;
using System.Collections.Generic;
Go to the complete details ...