Ciao, ho una semplicissima insert in una procedura (quella di cui discutevamo ualche post fa sul ridimensionamento delle immagini)
questo è l'errore ed il code...
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Source Error:
Line 184: string SQL = "INSERT INTO fotografie (nome) VALUES ('ciao)";
Line 185: MySqlCommand comando = new MySqlCommand(SQL, connection);
Line 186: comando.ExecuteNonQuery;
come mai ? che devo fare per eseguire una insert ?
grazie mille :master:




Rispondi quotando