1.

Will The Connection Be Closed, If The Sqlconnection Object Goes Out Of Scope?

Answer»

No,

If the SqlConnection goes out of SCOPE, it won't be CLOSED. Therefore, you must EXPLICITLY close the connection by calling Close or Dispose.

No,

If the SqlConnection goes out of scope, it won't be closed. Therefore, you must explicitly close the connection by calling Close or Dispose.



Discussion

No Comment Found