Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm creating a library system project. I want it to be half web-base and half windows application. The web-base is for library users to register, search and reserve books online, and the windows application is for librarian to generate reports and other basic library works. Im almost done creating windows application but my problem is how can I share my database between two application? do you have any suggestion how can I implement this?
Posted
Comments
bbirajdar 1-Oct-13 23:51pm    
Use the same connection string in two projects
Sergey Alexandrovich Kryukov 2-Oct-13 0:43am    
Are you sure you are talking about ASP? Maybe, ASP.NET (which is not ASP)?
—SA

1 solution

You can share the database between several applications if your RDBMS is based on the client-server model, but, as the Web layer is present anyway and the Web application is globally accessible, you should better introduce DAL:
http://en.wikipedia.org/wiki/Data_access_layer[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900