private void writeToDB(string password)///
{
string cmdstr = "INSERT INTO " + TableName + " (Password) values (@Password)" ;
OleDbDataAdapter adapter = new OleDbDataAdapter();
OleDbCommand insert = new OleDbCommand(cmdstr, vlAccessConnection);
adapter.SelectCommand = insert;
insert.Parameters.AddWithValue("@Password", password);
}
Hi all this is the code i've insert to update data with
password = tbconfirmp.text; [under save();]
but it seems like there is an error insert.ExecuteNonQuery();
state
Syntax error in INSERT INTO statement.
I'm struck=(