Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In a web application (in .net) there's a facility of single server database which allows updates of one user (based on session) to be accessed over another user (account/session).

Now my question is, is there anything of similar sort in windows application in .net? I am building a windows application which is going to be installed in 4-5 computers connected over a lan and I want to connect them to a single database server so that the updates of 1st host is identified by the 4th host and so on.

Is this possible?

If yes, please tell me how?

Thanx in advance.
Posted
Updated 9-Feb-11 7:48am
v2

The principle is the same in Windows Forms.

Just use a Connection String that points to the same server for your application. The Server needs to be at the same url for all the computers on the network.
 
Share this answer
 
Simple answer is YES. Basically there is no difference between windows and web application in this case. But your windows application needs to be connect to single database, not every instance of your windows app to have its own database.
 
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