Torna al Thread
string appo = Convert.ToString(Session["Username"]);
strConn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("Lam - Copia.mdb") + ";";
Conn = new OleDbConnection(strConn);
Conn.Open();
strSQL = "UPDATE Utenti SET Username = '" + appo + "' , Password = '" + RipPassword.Text + "' , Nome = '" + Nome.Text + "', Cognome = '" + Cognome.Text+ "', Telefono = '" +Tel.Text+ "' , Via = '" +Via.Text+ "', Citta = '" +Citta.Text+ "', Data = '"+ ddM.SelectedValue+"/"+ ddG.SelectedValue+"/"+ ddA.SelectedValue+"', Provincia = '" +ddP.SelectedValue+"' Where Username = '" +appo+ "'";
Cmd = new OleDbCommand(strSQL, Conn);
Cmd.ExecuteNonQuery();
Conn.Close();