Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
AnswerRe: XML document Creation using xml writer. Please help its urgent Pin
Shameel30-Dec-11 8:39
professionalShameel30-Dec-11 8:39 
QuestionHow to auto detect row version, if some one update manually Pin
Md. Marufuzzaman29-Dec-11 19:26
professionalMd. Marufuzzaman29-Dec-11 19:26 
AnswerRe: How to auto detect row version, if some one update manually PinPopular
Luc Pattyn30-Dec-11 1:21
sitebuilderLuc Pattyn30-Dec-11 1:21 
GeneralRe: How to auto detect row version, if some one update manually Pin
Md. Marufuzzaman30-Dec-11 2:30
professionalMd. Marufuzzaman30-Dec-11 2:30 
GeneralRe: How to auto detect row version, if some one update manually Pin
OriginalGriff30-Dec-11 3:43
mveOriginalGriff30-Dec-11 3:43 
GeneralRe: How to auto detect row version, if some one update manually Pin
Luc Pattyn30-Dec-11 3:48
sitebuilderLuc Pattyn30-Dec-11 3:48 
AnswerRe: How to auto detect row version, if some one update manually Pin
jschell30-Dec-11 8:48
jschell30-Dec-11 8:48 
GeneralRe: How to auto detect row version, if some one update manually Pin
SledgeHammer0130-Dec-11 9:37
SledgeHammer0130-Dec-11 9:37 
It all really depends on the OPs real requirements and design. Polling is not a very elegant solution and will bog down your database server if you have more then a few clients.

* are there multiple clients from outside your firewall? if so, its unlikely they'll even be able to connect to the database directly anyways

* do you really need instant real time sync'ed up data between clients?

* there *IS* a built in mechanism for *PUSH* called SqlDependency, but it needs your design to be one where only a single instance server piece is connecting to the DB and clients connect to the server piece and the server piece pushes out the notifications itself

* is the client application display only, or will clients be updating data? if so, you need to decide on your write policy because that will effect design as well. Does last writer always win? Probably not.

Lets say User A grabs a row which is A B C D. User B grabs the same row and gets A B C D. Now User A changes B -> E, so the row in the DB is A E C D. User B still has A B C D and changes D to F. Now should the database contain A E C D, A B C F or A E C F. In most scenarios, its going to be A E C F.

Honestly, at first glance, from the OPs question, I suspect he is getting concurrency exceptions and is going about it the wrong way to fix them Smile | :) .
GeneralRe: How to auto detect row version, if some one update manually Pin
jschell31-Dec-11 13:21
jschell31-Dec-11 13:21 
GeneralRe: How to auto detect row version, if some one update manually Pin
SledgeHammer011-Jan-12 8:08
SledgeHammer011-Jan-12 8:08 
GeneralRe: How to auto detect row version, if some one update manually Pin
jschell2-Jan-12 10:35
jschell2-Jan-12 10:35 
QuestionHelp me Convert this WPF to Silverlight Pin
Xarzu29-Dec-11 14:34
Xarzu29-Dec-11 14:34 
AnswerRe: Help me Convert this WPF to Silverlight Pin
Richard MacCutchan29-Dec-11 23:21
mveRichard MacCutchan29-Dec-11 23:21 
QuestionWould like help on technique to debug a dll Pin
turbosupramk329-Dec-11 12:09
turbosupramk329-Dec-11 12:09 
AnswerRe: Would like help on technique to debug a dll Pin
Pete O'Hanlon29-Dec-11 12:21
mvePete O'Hanlon29-Dec-11 12:21 
GeneralRe: Would like help on technique to debug a dll Pin
turbosupramk329-Dec-11 13:06
turbosupramk329-Dec-11 13:06 
GeneralRe: Would like help on technique to debug a dll Pin
harold aptroot29-Dec-11 12:30
harold aptroot29-Dec-11 12:30 
GeneralRe: Would like help on technique to debug a dll Pin
turbosupramk329-Dec-11 13:06
turbosupramk329-Dec-11 13:06 
GeneralRe: Would like help on technique to debug a dll Pin
harold aptroot29-Dec-11 13:30
harold aptroot29-Dec-11 13:30 
AnswerRe: Would like help on technique to debug a dll Pin
jschell29-Dec-11 14:12
jschell29-Dec-11 14:12 
GeneralRe: Would like help on technique to debug a dll Pin
turbosupramk329-Dec-11 15:44
turbosupramk329-Dec-11 15:44 
GeneralRe: Would like help on technique to debug a dll Pin
jschell30-Dec-11 8:21
jschell30-Dec-11 8:21 
GeneralRe: Would like help on technique to debug a dll Pin
OriginalGriff30-Dec-11 8:35
mveOriginalGriff30-Dec-11 8:35 
QuestionXML problem with retrieving value Pin
Cindy MCS29-Dec-11 8:34
Cindy MCS29-Dec-11 8:34 
AnswerRe: XML problem with retrieving value Pin
PIEBALDconsult29-Dec-11 8:58
mvePIEBALDconsult29-Dec-11 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.