|
-
August 24th, 2009, 02:27 PM
#1
Question about good pratices (DB connection)
Im starting a new project (first in .NET) and Im thinking that this is the time to change the things that im not doing very well.
The question is, I have a project with 7-10 forms, all have access (and use) the same SQL or Access database.
How would be the best way to handle connections?
one option is to open/close connections in every form, other is to make connection public in one form...
what other ways are there? and...what would be the best approach?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|