Sql connection

  • Thread starter Thread starter Victor Ciochina
  • Start date Start date
V

Victor Ciochina

Hello,

I have a problem with my application. I use c# to connect to an sql server.
I noticed that after the first connection, my server keeps at least one
connection always opened although I close all my connections in finnaly
block

Thanks
 
Hi Victor,

That's correct behavious as there is connection pooling involved.
Read
Connection Pooling for the .NET Framework Data Provider for SQL Server
..net help topic where this functionality is explained.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top