Click here to Skip to main content
16,006,766 members
Home / Discussions / C#
   

C#

 
GeneralRe: Asynchronous Pin
sreejith ss nair29-Jul-04 20:29
sreejith ss nair29-Jul-04 20:29 
GeneralRe: Asynchronous Pin
Heath Stewart30-Jul-04 3:19
protectorHeath Stewart30-Jul-04 3:19 
GeneralRe: Asynchronous Pin
sreejith ss nair30-Jul-04 3:36
sreejith ss nair30-Jul-04 3:36 
GeneralRe: Asynchronous Pin
Heath Stewart30-Jul-04 4:11
protectorHeath Stewart30-Jul-04 4:11 
GeneralRe: Asynchronous Pin
sreejith ss nair30-Jul-04 4:21
sreejith ss nair30-Jul-04 4:21 
GeneralRe: Asynchronous Pin
Heath Stewart30-Jul-04 4:57
protectorHeath Stewart30-Jul-04 4:57 
GeneralRe: Asynchronous Pin
sreejith ss nair30-Jul-04 3:36
sreejith ss nair30-Jul-04 3:36 
GeneralRe: Asynchronous Pin
Tom Larsen29-Jul-04 5:42
Tom Larsen29-Jul-04 5:42 
There are only a few reasons why anyone should embrace asycronous response patterns and this doesn't appear to be one of them. You should design the batch processing into the SQL server instead of in the client application.

You should avoid it if possible because it makes problems more complex. Trying to do this "mixed mode" thing becomes a nightmare. You should either keep everything syncronized or asycronous because bridging between causes all sorts of fun issues (like race conditions and deadlocks). Simple tasks like deleting rows become much harder. If you want to delete, you must syncronize against the asycronous handle you setup elsewhere to do insertions. If you want to exit you have to syncronize against the asycronous handle you setup elsewhere to do insertions. Heck even adding rows you will have to be careful.

Asycronous programming is not for the faint of heart which is why I constantly recommend against using it unless you have to. The point of a SQL server is to keep transactions sane and syncronized. Why thawart this?
GeneralQuestion on Porting Pin
SatyaDY29-Jul-04 0:40
SatyaDY29-Jul-04 0:40 
GeneralRe: Question on Porting Pin
Colin Angus Mackay29-Jul-04 0:45
Colin Angus Mackay29-Jul-04 0:45 
GeneralRe: Question on Porting Pin
SatyaDY29-Jul-04 17:54
SatyaDY29-Jul-04 17:54 
GeneralRe: Question on Porting Pin
Colin Angus Mackay29-Jul-04 20:41
Colin Angus Mackay29-Jul-04 20:41 
Generalseem to have a blackout Pin
Stephan Wright28-Jul-04 23:01
Stephan Wright28-Jul-04 23:01 
GeneralRe: seem to have a blackout Pin
Colin Angus Mackay28-Jul-04 23:38
Colin Angus Mackay28-Jul-04 23:38 
GeneralRe: seem to have a blackout Pin
Stephan Wright29-Jul-04 23:30
Stephan Wright29-Jul-04 23:30 
GeneralWav To Midi Pin
MicSky28-Jul-04 21:17
MicSky28-Jul-04 21:17 
GeneralRe: Wav To Midi Pin
Bret Mulvey9-Aug-04 18:13
Bret Mulvey9-Aug-04 18:13 
GeneralSimple yet unanswered question Pin
hatim_ali28-Jul-04 19:16
hatim_ali28-Jul-04 19:16 
GeneralRe: Simple yet unanswered question Pin
J. Dunlap28-Jul-04 19:30
J. Dunlap28-Jul-04 19:30 
GeneralRe: Simple yet unanswered question Pin
Giles28-Jul-04 20:57
Giles28-Jul-04 20:57 
Questionsave bitmap ? Pin
kendao28-Jul-04 17:33
kendao28-Jul-04 17:33 
AnswerRe: save bitmap ? Pin
mav.northwind28-Jul-04 21:13
mav.northwind28-Jul-04 21:13 
AnswerRe: save bitmap ? Pin
Heath Stewart29-Jul-04 5:14
protectorHeath Stewart29-Jul-04 5:14 
Generaltabbing with text selection Pin
azusakt28-Jul-04 16:45
azusakt28-Jul-04 16:45 
GeneralRe: tabbing with text selection Pin
mikker_12328-Jul-04 23:48
mikker_12328-Jul-04 23:48 

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.