From: olegmad <ol...@ya...> - 2003-10-18 11:51:06
|
Hello! I download firebird .net provider 1.5 beta 2 for .net framework 1.1. I try run that simple code: ---------------------------- FbConnection connection = new FbConnection(ConnectionString); connection.Open(); FbTransaction transaction = connection.BeginTransaction(); FbCommand command = new FbCommand("SELECT * FROM \"TTT\"", connection, transaction); DataTable table = new DataTable(); FbDataAdapter adapter = new FbDataAdapter(command); adapter.Fill(table); // EXCEPTION HERE !!!!! transaction.Commit(); connection.Close(); ---------------------------- And I catch that exception: --------------- An unhandled exception of type 'System.NullReferenceException' occurred in system.data.dll Additional information: Object reference not set to an instance of an object. ---------------- But! When i use old (beta 1) .net provider - all OK. What wrong??? Please help!!! Bye. |