Posts by Stephan Carvalho • 13 points
4 posts
-
-1
votes2
answers124
viewsQ: Error while trying to display error/success messages and page continues to reload with ajax
Hello, I am developing a "soon" page, where I have the functionality of registering email. I made this feature with ajax and php, using the database mysql, and I’m facing 2 problems. When typing the…
-
-1
votes1
answer154
viewsQ: I can use two Insert into in the same command
i have the following line of code and wanted to know if it is possible to make two select within a single sql command cmd = new MySqlCommand("insert into FUNCIONARIO(`CPF_FUNCIONARIO`,…
-
-1
votes2
answers131
viewsQ: Syntax error in sql command
I have a possible problem in sql syntax in my code if (tbCPF.Text != "" && tbNome.Text != "" && tbEndereco.Text != "" && tbNumero.Text != "" && tbBairro.Text != ""…
-
1
votes1
answer279
viewsQ: Error handling exceptions - "Undefined object reference for an instance of an object"
public String IdentificarAcessoDAL(FuncionarioDTO acesso) { try { conexao.cmd.Connection = conexao.conexao; string recuperar = "SELECT CARGO.NOME_CARGO FROM LOGIN INNER JOIN FUNCIONARIO ON…