B
Brian
I have a question about opening and closing OleDB connections
explicitly. I have a form that, when loaded, makes several calls to
the database (uses several Data Adapters). Should I open the
connection to the database in the form's Load event handler and just
leave it open until the form is closed? Or should I open and close a
connection with each call to the database?
I am concered about two potential issues here:
1) performance
2) stability of the application (can the application become unstable
if i am not managing db connections properly?)
Many thanks in advance for any help.
Brian
explicitly. I have a form that, when loaded, makes several calls to
the database (uses several Data Adapters). Should I open the
connection to the database in the form's Load event handler and just
leave it open until the form is closed? Or should I open and close a
connection with each call to the database?
I am concered about two potential issues here:
1) performance
2) stability of the application (can the application become unstable
if i am not managing db connections properly?)
Many thanks in advance for any help.
Brian