WinForms how to use one DB connection between forms?

The essence
When you open the main form, it opens the connection that the user was comfortable (without opening and closings of the connection), to perform actions associated with entering and reading information from the database.

How to implement? Pass the connection ID in each form?

Database - PostgreSQL

with HC.
June 10th 19 at 14:39
0 answer

Find more questions by tags Windows Forms