Hello,

I used the following code successfully with SQLite and ODBC:

IDbDataReader reader;
using(IDbCommand cmd = new FbCommand("Select * from imports where status
= 0;")){
        reader = cmd.ExecuteReader();
}

while(reader.Read()){
 (...)
}

But with the Firebird.NET-driver it gives me an exception at
while(reader.Read()), saying that the reader is closed. With the other
drivers I just get 'false' as return value.

Why is this behavior other than with the other readers? Shouldn't that
be compatible?

Or is there something I'm doing wrong?

Regards,

Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to