Absolutely true -- even with a handful of users, you'll start getting Max Pool errors.
j
-----Original Message-----
From: Brad Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tue 6/11/2002 9:40 AM
To: [EMAIL PROTECTED]
Cc:
Subject: Re: [DOTNET] ADO.NET and Dispose
Chris Anderson wrote:
> Basically..Am I going overkill on the Dispose methods?
Not at all. If a class implements IDisposable, that means it wants to call
Dispose the absolute moment you're through. In the case here, it means
database connection resources are returned to the pool to be used by others.
I believe (thought I have not tested) that if you weren't calling Dispose
there, you would soon run out of connection resources and connections to the
database would fail.
b‹œjzÞiÙž²Æ zÇë¢kax3“4DÚÈb½ë§²æìr¸›yúè˜3“4Dè®Ë›±Êâmëh¢Ø^¬7¯zZ)1éí¢¹b²Û¶m§ÿÝŠÇ.²Ç^½éh¥Ê&