V
V
Viktor2017-12-16 14:20:38
Windows Forms
Viktor, 2017-12-16 14:20:38

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 question

Ask a Question

731 491 924 answers to any question