By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

How to use connection.open in vb.net module

P: 1
i wanted to use single connection.open() for multiple forms in vb.net
Aug 18 '12 #1
Share this Question
Share on Google+
1 Reply


P: 9
Will you be please Explain your question little bit more?
How far I know that If you use connection.open() in a form It will remain open after the form closed. the connection will be close when you use connection.close().

For the best practice it will be good that use connection.open() when only need to connect with database and close the connection using connection.close() after the database action.
Aug 18 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.