From: Ivan - <pre...@bk...> - 2003-06-07 15:47:52
|
I've just downloaded your sources using CVS, and run my test again. It won't work. Full sources of my sample using your test database: FbConnection con = new FbConnection(@"Database=c:\testdb.gdb;User=SYSDBA;Password=masterkey;Dialect=3;Host=Localhost;Charset=WIN1251;"); con.Open(); FbTransaction tran = con.BeginTransaction(); FbDataAdapter da = new FbDataAdapter("select * from TEST_TABLE_01", con); DataSet ds1 = new DataSet(); da.SelectCommand.Transaction = tran; da.Fill(ds1); tran.Commit(); con.Close(); con.Open(); DataSet ds2 = new DataSet(); FbTransaction tran1 = con.BeginTransaction(); da.SelectCommand.Transaction = tran1; da.Fill(ds2); /*<------- "Object reference not set to an instance of an object." Exception goes here. */ con.Close(); Maybe I'be made something wrong in my sample ? > Ok i have commited some little changes for solve this in the release 1.1 > of the CVS. > > > > -- |