From: <HAl...@ab...> - 2004-07-28 14:59:45
|
Hi Carlos, Thank you for ur prompt reply. I modified my code as you had suggested and then tried again. The code reads as below now. float[] myArray = null; if( reader.Read() ) { System.Array tmp = (System.Array)reader.GetValue(1); myArray = new float[tmp.Length]; System.Array.Copy(tmp, myArray, myArray.Length); } an exception is thrown by the System.Array tmp = (System.Array)reader.GetValue(1); in the above code. the exception message reads thus. {"Exception of type FirebirdSql.Data.Firebird.Gds.GdsException was thrown." } the error code shown is ErrorCode: 335544457 which i gather represents an gds_open_trans option. i have not used transaction when trying to retrieve data. Regards Harsha |