Hi
What is the best way to manage Connection to access to a database while developing a windows application using c#? I mean having a project-wide connection object variable that opens by application start and closes and disposes by application end OR within every procedure (for example select, insert, update,...) that uses a connection to db, we declare a connection object, open it, use it and by the end of the procedure, we close and dispose it?
In summary, how to manage connection object within our applications?