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)