IS it required.... ?



Is it required to destroy the command object(SqlCommand) by calling the
exclusivily the following statement when I am closing the associated
database connection all the time.
MySqlCommand = Nothing.

I am using .Net Framework 1.1. and SQL 2K.

Thank you. Any comments.

Any document to support your argument.

Allen


.



Relevant Pages

  • Re: Normal Practice....
    ... "Wilson Smith" wrote in message ... > Like, closing files, closing database connections. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Normal Practice....
    ... Like, closing files, closing database connections. ... open the database connection at the Page_Load and do all the work and close ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Normal Practice....
    ... It's good practice to get into the habit of closing ... > Like, closing files, closing database connections. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Help with Event Structures...
    ... the real program I am calling a subvi and closing the loops from that ...
    (comp.lang.labview)
  • Re: Exiting a program
    ... You're probably just closing the form by calling ... Should do the trick. ... > When person hits the x button in the upper right conor of the screen, ...
    (microsoft.public.dotnet.framework.compactframework)