Click here to Skip to main content
15,882,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Im making an windows mssql 2005 application where users can login to application at the same time. Can anyone give any ides or tutorials on how to do this. because if one user makes changes in 1 form then the other form linked to this should also be updated .

b>.if two pc works on same form eg one opens invoice and another opens same invoice and one deletes it .it affects the databasse but not the interface on 2nd pc and he adds a new item in invoice and updates which logicaly shouldnt happen then what to do?

their may be many scenarios like this ..

Actually first time Im making multineetwork application. I have no idea where to start with, things which to be taken care of etc. So anyone who has knowledge of such apps can advice me or can give any link etc ?

1 solution

I would suggest you to start here: ADO.NET[^] and read all related articles. You would be interested Entity SQL language[^] too. If you would like to see the changes made by other user, read about SQLDependency Class[^].

Using ADO.NET for beginners[^]
Introduction to Entity Framework[^]
Simple Sample with Entity Framework [^]
Four ways of passing data between layers[^]
Using SqlDependency for data change events[^]
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