about sqlConnection
Hi Expert,
It is weird that I could not disconnect the connection when I use sqlConnection.
This is my code:
m_conn.ConnectionString=clsStatic.strConnection;
m_conn.Open();
m_conn.Close();
Once I use it, the connection can not disconnect until application is down. I found it using SQL Server Enterprise Manager\Management\Current Activity. How & Why??
|