I have a sign up page that when you submit you go to here but it says: "Number of query values and destination fields are not the same." why??? heres the code:
string MySQL = "INSERT INTO users (email, pname,
accountname, pid, age, passw) VALUES ('";
MySQL = MySQL + Request.Form["email"] + "','";
MySQL = MySQL + Request.Form["pname"] + "','";
MySQL = MySQL + Request.Form["accountname"] + "','";
MySQL = MySQL + Request.Form["pid"] + "','";
MySQL = MySQL + Request.Form["age"] + "','";
MySQL = MySQL + Request.Form["passw"] + "','";
string strConnection = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=" +
System.Web.HttpContext.Current.Server.MapPath(@"DataBase\Users.accdb");
System.Data.OleDb.OleDbConnection con = new
System.Data.OleDb.OleDbConnection(strConnection);
System.Data.OleDb.OleDbCommand cmd = new
System.Data.OleDb.OleDbCommand(MySQL, con);
con.Open();
cmd.ExecuteNonQuery();
con.Close();