string command = ("UPDATE Users SET Id="+"'"+user+"'"+", User="+"'"+password+"'"+"WHERE Id="+"<"+Opassword+">"); c = new OleDbCommand(command, con); ap.UpdateCommand = c; con.ConnectionString = conection; using(con) { c.Connection = con; con.Open(); ap.UpdateCommand.ExecuteNonQuery(); } ap.Dispose(); con.Close();
"<"+Opassword+">"
"["+Opassword+"]"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)