From: <car...@te...> - 2003-02-10 20:50:02
|
Hello: > No Blobs fields, but I am running the 1.02 release version, I was antsy > about running a non release version. I ask the server version because i run the test using Fb 1.02 I have modified your sample code as: string sSQL = "SELECT * FROM INVOICERECEIPT_HEADER WHERE POSTHEADID=8220;"; for (int i = 0; i < 10; i++) { FbConnection conn = new FbConnection(@"Database=D:\Program Files\Firebird\data\test.gdb;User=test_user;Password=zipper;Dialect=3;Server=localhost;Role=authors"); FbCommand cmd = new FbCommand(sSQL, conn); cmd.CommandType = CommandType.Text; FbDataAdapter da = new FbDataAdapter(cmd); DataSet ds = new DataSet("InvoiceReceipt"); conn.Open(); FbTransaction trans = conn.BeginTransaction(); cmd.Transaction = trans; da.Fill(ds, 0, 0, "Header"); trans.Commit(); conn.Close(); } But with connection string changed for use a own database, etc..., it this correct test or not??. Best regards Carlos Guzmán Álvarez Vigo-Spain |