jeffpeters
Member
- Joined
- Jul 28, 2006
- Messages
- 14
- Programming Experience
- 5-10
I am having problems with a build up of processes in my SQL database.
I am assuming it is because my connection is not being closed.
I have written a database access class and am using cn.Open followed by cmd.ExecuteReader. Once I have finished using the reader I do cn.Close and then dispose of the cn and cmd
But still my connection is there in the db.
Am I missing something? Should I add something to my cn String??
Thanks
I am assuming it is because my connection is not being closed.
I have written a database access class and am using cn.Open followed by cmd.ExecuteReader. Once I have finished using the reader I do cn.Close and then dispose of the cn and cmd
But still my connection is there in the db.
Am I missing something? Should I add something to my cn String??
Thanks