G
Guest
Hi,
I have a C# Solution/Application that contain 4 projects.
Each of these projects needs at some time to access the same database.
I would like to know how to share a single connection between these projects
as i assume this would be more efficient than having a separate connection
string for each project.
Also what is the best way to control the opening and closing of the database
in these projects through this connection string.
When is it best to access the database directly and when is it best to go
through a dataset?
Thanks In Advance
Macca
I have a C# Solution/Application that contain 4 projects.
Each of these projects needs at some time to access the same database.
I would like to know how to share a single connection between these projects
as i assume this would be more efficient than having a separate connection
string for each project.
Also what is the best way to control the opening and closing of the database
in these projects through this connection string.
When is it best to access the database directly and when is it best to go
through a dataset?
Thanks In Advance
Macca