D
dgk
Should I dispose of table adapters and data tables and rows or do they
garbage collect themselves?
garbage collect themselves?
dgk said:Do they implement IDisposable? e.g, do they have a Dispose method?
If so, you may call it. Otherwise, not to worry, the garbage man will get
around to it.
-- Peter
in general objects only implement IDispose if they need it, though many
have a alternate method like Close()
-- bruce (sqlwork.com)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.