ADO.Ne tConnection object.....

  • Thread starter Thread starter Abhram Jose
  • Start date Start date
A

Abhram Jose

I am using ADO.NET objects in my ASP.Net application.
I am using SQL Server connection object. Is it required to use set My
connectionObject = Nothing for ADO.Net ?
I am closing the connection using Close Method.
Thanks,
Abhram Jose
 
No, strictly it's not necessary as long as you're calling the close method.
The garbage collector will get around to deallocating it from memory
sometime after it goes out of scope.
 
Back
Top