Le roy Arnaud wrote:
> FbConnection conn = new FbConnection(myconnection);
> FbCommand cmd = new FbCommand();
> cmd.Connection = conn;
> cmd.CommandType = CommandType.StoredProcedure;
> cmd.CommandText = "GET_PLAGES";
> cmd.Parameters.Add(new FbParameter("@IDPLAGE", FbDbType.Integer));
> cmd.Parameters[0].Value = 1;
> conn.Open();
> IDataReader res = cmd.ExecuteReader();
> while (res.Read())
> {
>   // azerty
> }

Did you close the reader after reading?

-- 
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to