Hi Folks,

I have written a class in the C# windows forms application. This class has a SqlConnection Object.

With this class I want to open a connection and this instance of the class (connection) should be available globally for all the forms. Just like using only one connection object through out all the forms in the application.

And I want to close this connection when the MDI form is closed.

Any ideas??