Click here to Skip to main content
15,915,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have to two windows application.one of add some data and other application is retrieve data.these two application run in two different machine.so i have to one database.
i want to access this database using above two application in same time.
how can i do that??i use C# language.
Posted
Comments
syed shanu 27-Aug-13 3:54am    
What problem do you find in this.
You can use 2 method.
1) In each application you can create DB Connection class and do the functions as you wish.
2) Create a COmmon WCF for both application and do all your DB functions over there .Add WCF in both application and do Add in one application and View in another application.
dnsserver 8-Sep-13 22:32pm    
thnx...

1 solution

That's just fine. You may find a lot info just Googling, see, for instance this question at Stack Overflow: "More than one application able to access the same database in SQL Server at a same time?"[^]
 
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