From: le r. a. <ar...@me...> - 2006-05-30 04:53:06
|
> 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 ? OK i found the solution in fact when a control do a databind with a datareader the overiden GetEnumerator is called and now it returns "New Dbenumerator(this)" or it sould return "New DbEnumerator(this,(CommandBehavior.Default != (CommandBehavior.CloseConnection & this._behavior)));" Thanks a lot Carlos for you help and please tell me if this solution is good for you ? |