Re: [Firebird-net-provider] Helping inserting data on a firebird database using C#.

2006-04-07 Thread Carlos Guzmán Álvarez
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

Re: [Firebird-net-provider] Helping inserting data on a firebird database using C#.

2006-04-07 Thread Fabio Gomes
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

Re: [Firebird-net-provider] Helping inserting data on a firebird database using C#.

2006-04-07 Thread Carlos Guzmán Álvarez
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