Hello:
Am i making it the right way? or is there another way to do this
insert on my database? cause google isnt helping much in this case :(
Send a test case to my private email, please, database included.
--
Carlos Guzmán Álvarez
Vigo-Spain
http://carlosga.blogspot.com/
"When you don't
Ok, i tried to change to this: da_cli.InsertCommand = con.CreateCommand(); // DADOS: da_cli.InsertCommand.CommandText = "INSERT INTO CLIENTES (CLI_COD,CLI_NOME, CLI_SOBRENOME) VALUES(@cli_cod,@cli_nome,@cli_sobrenome)";
da_cli.Inser
Hello:
The error occur on the bold part, if i use: INSERT...VALUES('" +
txtCli_nome.Text.ToString() + "') it works, but if i use
Add("@cli_nome", txtCli_nome.Text.ToString()), it gives me that error,
anyone knows why am i getting that?
Try to add the parameters using the ctor that takes a Fb