D
Dean Slindee
After finishing with an access of a database table, I have been setting the
data adapter, command, and connection objects to Nothing. Is it worth
following the Nothing commands with Dispose commands as well, like this:
Finally
cn.Close()
da = Nothing
cmd = Nothing
cn = Nothing
da.Dispose()
cmd.Dispose()
cn.Dispose()
End Try
Thanks,
Dean Slindee
data adapter, command, and connection objects to Nothing. Is it worth
following the Nothing commands with Dispose commands as well, like this:
Finally
cn.Close()
da = Nothing
cmd = Nothing
cn = Nothing
da.Dispose()
cmd.Dispose()
cn.Dispose()
End Try
Thanks,
Dean Slindee