Ciao a tutti , ho un problema con l'update di dati in un db access
Il codice apparentemente sembrerebbe funzionare visto che non da nessun errore , ma non va.
Il codice è il seguente :

OleDbConnection oCnn = creaConnessione();
int id = Convert.ToInt32(boxID.Text);
String sql = "UPDATE Articoli SET [Nome] = ?, [Descrizione] = ?, [Immagine] = ?, [idMarca] = ?, [idCategoria] = ?, [usato] = ?, [offerta] = ?, [Prezzo1] = ?, [Prezzo2] = ? WHERE [idArticolo] ="+id;
String n = boxNome.Text;
String d = boxDesc.Text;
String i = boxImg.Text;
int m = Convert.ToInt32(boxMarca.Text);
int c = Convert.ToInt32(boxCategoria.Text);
bool u = boxUsato.Checked;
bool o = boxOfferta.Checked;
String p1 = boxPrezzo1.Text;
String p2 = boxPrezzo2.Text;
try
{
oCnn.Open();
OleDbCommand odb = new OleDbCommand(sql, oCnn);
odb.Parameters.AddWithValue("@Nome", n);
odb.Parameters.AddWithValue("@Descrizione", d);
odb.Parameters.AddWithValue("@Immagine", i);
odb.Parameters.AddWithValue("@idMarca", m);
odb.Parameters.AddWithValue("@idCategoria", c);
odb.Parameters.AddWithValue("@usato", u);
odb.Parameters.AddWithValue("@offerta", o);
odb.Parameters.AddWithValue("@Prezzo1", p1);
odb.Parameters.AddWithValue("@Prezzo2", p2);
odb.ExecuteNonQuery();
Response.Write(odb.ExecuteNonQuery());
}
ecc ....


La risposta che faccio stampare a video mi da 1 come risultato però non viene fatto l'update sul db ...
Cosa può essere ?????

Ciao .