1
What’s wrong with my code?
conexao.conectarBD();
conectar.Open();
comando.CommandType = CommandType.StoredProcedure;
comando = new SqlCommand("INSERIR_CLIENTE", conectar);
comando.Parameters.AddWithValue("@CODIGO", Convert.ToInt32(txtCodigo.Text));
comando.Parameters.AddWithValue("@NOME", txtNome.Text);
comando.Parameters.AddWithValue("@TELEFONE", txtTelefone.Text);
comando.ExecuteNonQuery();
MessageBox.Show("DEU BOM!");
INSERIR_CLIENTE
that’s right?– JcSaint