Answer the question
In order to leave comments, you need to log in
WinForms, how to correctly use one DB connection between forms?
Essence
When opening the main form, a connection is opened to make it comfortable for the user (without opening and closing the connection) to perform actions related to entering and reading information from the database.
How to implement correctly? Pass connection id to each form?
DB - PostgreSQL
with SW.
Victor
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question