|
-
Sep 27th, 2006, 02:30 PM
#10
Thread Starter
Banned
Re: Datareader issue
 Originally Posted by kleinma
Of course you shouldn't call dispose unless you are DONE with the object, which is what I stated originally...
Not to be picky but you said:
"make sure you call .dispose on both the command and connection when you are done with them."
That is not the case, since dispose actually gets rid of the connection pooling itself, which degrades performance.
 Originally Posted by kleinma
Of course you shouldn't call dispose unless you are DONE with the object, which is what I stated originally...
In that case Dispose should be called on what object ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|