2
Where is the error ? does not update at all
SQLiteConnection conn = new SQLiteConnection(conexao);
if (conn.State == ConnectionState.Closed)
conn.Open();
SQLiteCommand cmd = new SQLiteCommand("UPDATE PESSOAS SET NOME,ADDRESS = @NOME,@ADDRESS WHERE ID = @CODIGO", conn);
cmd.Parameters.AddWithValue("CODIGO",IDregistro);
cmd.Parameters.AddWithValue("NOME", textBox1.Text);
cmd.Parameters.AddWithValue("ADDRESS", textBox2.Text);
try
{
cmd.ExecuteNonQuery();
MessageBox.Show("Registro Atualizado Com sucesso");
Thanks worked out I got caught up in this !
– carlos coelho
If the answer to your question @carloscoelho accepted as answer!
– novic
I’m waiting for the 6 minutes here it says so you can only accept an answer in 6 minutes,I’m waiting
– carlos coelho