Click here to Skip to main content
15,909,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: Copyright Problem ? Using Gifs and Images from Web in my Application Pin
lmoelleb22-Feb-06 21:08
lmoelleb22-Feb-06 21:08 
AnswerRe: Copyright Problem ? Using Gifs and Images from Web in my Application Pin
Colin Angus Mackay22-Feb-06 22:52
Colin Angus Mackay22-Feb-06 22:52 
GeneralRe: Copyright Problem ? Using Gifs and Images from Web in my Application Pin
emran83423-Feb-06 0:50
emran83423-Feb-06 0:50 
QuestionC#.Net Pin
Ashwani_kumar22-Feb-06 17:31
Ashwani_kumar22-Feb-06 17:31 
AnswerRe: C#.Net Pin
George L. Jackson22-Feb-06 17:39
George L. Jackson22-Feb-06 17:39 
GeneralRe: C#.Net Pin
Ashwani_kumar22-Feb-06 17:41
Ashwani_kumar22-Feb-06 17:41 
GeneralRe: C#.Net Pin
George L. Jackson22-Feb-06 17:48
George L. Jackson22-Feb-06 17:48 
GeneralRe: C#.Net Pin
emran83422-Feb-06 18:19
emran83422-Feb-06 18:19 
Right ! Smile | :)

Ok ! I was thinking what about accessing SQL database by Two Threads simultaneously !! I am planning to do something like,

[One thread is generating email address and email message and dump that record in SQL, another thread read email message from that SQL, send email and after that delete that record and scan any new record inserted]

A) Thread A inserts record in SQL
B) Thread B reads a record from SQL, may be the same one which was just inserted by Thread A.
C) Thread B do some work based on the information of that record.
D) Thread B Delete that record after finishing its work, and then look for new record again which was inserted by Thread A.

::: Now, Is there any chance of conflict ? I was worried about one thing, When Thread A is inserting record, does it lock the Database so that Thread B cannot read or delete any other record (not the exactly one which is being inserted) ? Or, When Thread B is reading or Deleting record, does it lock the database so that thread A cannot insert new record ?



Thanks and regards...

-- modified at 0:26 Thursday 23rd February, 2006
GeneralRe: C#.Net Pin
Praveen Nayak23-Feb-06 21:20
Praveen Nayak23-Feb-06 21:20 
GeneralRe: C#.Net Pin
emran83423-Feb-06 23:27
emran83423-Feb-06 23:27 
GeneralRe: C#.Net Pin
Praveen Nayak24-Feb-06 0:09
Praveen Nayak24-Feb-06 0:09 
GeneralTurn off the auto-close quote feature of the IDE... Pin
code-frog22-Feb-06 16:14
professionalcode-frog22-Feb-06 16:14 
QuestionApplication path Pin
jzb22-Feb-06 14:33
jzb22-Feb-06 14:33 
AnswerRe: Application path Pin
Christian Graus22-Feb-06 15:39
protectorChristian Graus22-Feb-06 15:39 
QuestionUTC Time from a C program Pin
mcljava22-Feb-06 14:21
mcljava22-Feb-06 14:21 
AnswerRe: UTC Time from a C program Pin
Jon Sagara22-Feb-06 15:00
Jon Sagara22-Feb-06 15:00 
GeneralRe: UTC Time from a C program Pin
mcljava22-Feb-06 15:43
mcljava22-Feb-06 15:43 
AnswerRe: UTC Time from a C program Pin
George L. Jackson22-Feb-06 17:32
George L. Jackson22-Feb-06 17:32 
GeneralRe: UTC Time from a C program Pin
mcljava23-Feb-06 7:44
mcljava23-Feb-06 7:44 
QuestionClick Click Pin
IceWater4222-Feb-06 13:42
IceWater4222-Feb-06 13:42 
AnswerRe: Click Click Pin
IceWater4223-Feb-06 9:32
IceWater4223-Feb-06 9:32 
Questionmaking calculator Pin
jessica gelina22-Feb-06 12:22
jessica gelina22-Feb-06 12:22 
AnswerRe: making calculator Pin
Colin Angus Mackay22-Feb-06 12:33
Colin Angus Mackay22-Feb-06 12:33 
General[Message Deleted] Pin
jessica gelina22-Feb-06 13:01
jessica gelina22-Feb-06 13:01 
GeneralRe: making calculator Pin
Colin Angus Mackay22-Feb-06 13:07
Colin Angus Mackay22-Feb-06 13:07 

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.