|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MultiUser EnvironmentIn a typical Multi User environment, what is the best way to handle updates of disconnected datasets of other users. Eg: User A opens application Winform 1, dataset1 is loaded on his machine User B opens application Winform 1, dataset1 is loaded on his machine as well. Say User A makes changes to Dataset1 and the database has been updated with the changes. But since User B is either doing something else or may be editing some records, how to make sure that UserB dataset also gets updated with the new values from the db. Any practical / implemented ideas? Thanks There have been replies to this post on the windows.databinding forum. Since SQLDependency cannot be used in SQLServer Express, are there any other alternatives other than forcing the end client to use SQL Server 2005 Standard Edition? thanks You can handle concurrency issues when posting back. If you have one, you
show the information that is in conflict, to the user, and let him decide. Dino Esposito has some good articles, on the MSDN site (and elsewhere) on concurrency handling in ADO.NET. -- Show quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com ******************************************** Think outside the box! ******************************************** "AnikSol" <anisol@community.nospam> wrote in message news:uEASUdoVHHA.1432@TK2MSFTNGP02.phx.gbl... > > Development Environment: VB 2005 Prof, SQL Server 2005 > > In a typical Multi User environment, what is the best way to handle > updates > of disconnected datasets of other users. > > Eg: User A opens application Winform 1, dataset1 is loaded on his machine > User B opens application Winform 1, dataset1 is loaded on his machine as > well. > > Say User A makes changes to Dataset1 and the database has been updated > with > the changes. But since User B is either doing something else or may be > editing some records, how to make sure that UserB dataset also gets > updated > with the new values from the db. > > Any practical / implemented ideas? > > Thanks > > There have been replies to this post on the windows.databinding forum. > > Since SQLDependency cannot be used in SQLServer Express, are there any > other alternatives other than forcing the end client to use SQL Server > 2005 Standard Edition? > > thanks > > > > |
|||||||||||||||||||||||