Hello, I have a problem with this code in an asp.net 2.0 applicattion: FbDataReader d; FbConnection fb = new FbConnection(ConfigurationManager.ConnectionStrings["Template"].ConnectionString); fb.Open(); FbCommand fc = new FbCommand("select * from categories", fb); d = fc.ExecuteReader(CommandBehavior.CloseConnection); GridView1.DataSource = d; GridView1.DataBind();
The problem is that the connection is not closed after the gridview databind and the property fbdatareader.isclosed is false or with other provider as oracle or sql server the connection is closed It'is a bug or not ? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider