Sqlconnection opening and closing RRS feed

  • Question

  • why am i getting errors that the connection is in the open state whiles i know for sure that i closed the connection i opened.
    Tuesday, June 19, 2007 8:30 PM

All replies

  • If you think it is closed does not mean it is. Quite possible that part of the code which closes connection was not executed. You could check State property of the connection before you try to open it and see what it has.
    Wednesday, June 20, 2007 10:52 AM