i have the following code and i m trying to insert it into an access DB
where is my mistake in the into stm?
// get parameters from a web form
string UName = Request.Params["Name"];
string Surname = Request.Params["Surname"];
string UserName = Request.Params["UserName"];
string Password = Request.Params["Password"];
string Email = Request.Params["Email"];
string insertString = "INSERT INTO Users (Name, Surname, UserName,
Password, Email) VALUES ("UName","Surname","UserName","Password","Email")";
string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" + Server.MapPath("magazine.mdb");
Thanks,
where is my mistake in the into stm?
// get parameters from a web form
string UName = Request.Params["Name"];
string Surname = Request.Params["Surname"];
string UserName = Request.Params["UserName"];
string Password = Request.Params["Password"];
string Email = Request.Params["Email"];
string insertString = "INSERT INTO Users (Name, Surname, UserName,
Password, Email) VALUES ("UName","Surname","UserName","Password","Email")";
string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" + Server.MapPath("magazine.mdb");
Thanks,