Hello:
In GdsStatement.Fetch(), after first check of op_fetch_response, there
is loop where op_fetch_response is not checked anymore. And in case of
exception return code will be equal to op_response instead of
op_fetch_response.
A sample like this , looks as working:
FbConnectionStringBuilder csb = new FbConnectionStringBuilder();
csb.Database = @"localhost:c:\employee.fdb";
csb.UserID = "sysdba";
csb.Password = "masterkey";
csb.Charset = "NONE";
csb.Pooling = false;
csb.ServerType = 0;
csb.FetchSize = 100;
FbConnection c = new FbConnection(csb.ToString());
c.Open();
FbCommand cmd = new FbCommand("select * From employee", c);
FbDataReader r = cmd.ExecuteReader();
while (r.Read())
{
}
c.Close();
Could you answer that message and encourage the guy who sent it to send
it to this list ??
--
Carlos Guzmán Álvarez
Vigo-Spain
http://carlosga.blogspot.com/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider