Click here to Skip to main content
15,921,837 members
Home / Discussions / C#
   

C#

 
GeneralRe: "operation must use an updatable query" error message Pin
isiran11-Jun-06 22:46
isiran11-Jun-06 22:46 
AnswerRe: "operation must use an updatable query" error message Pin
Guffa12-Jun-06 7:16
Guffa12-Jun-06 7:16 
GeneralRe: "operation must use an updatable query" error message Pin
isiran12-Jun-06 19:36
isiran12-Jun-06 19:36 
AnswerRe: "operation must use an updatable query" error message Pin
Guffa13-Jun-06 9:09
Guffa13-Jun-06 9:09 
GeneralRe: "operation must use an updatable query" error message Pin
isiran14-Jun-06 2:11
isiran14-Jun-06 2:11 
AnswerRe: "operation must use an updatable query" error message Pin
Tamimi - Code11-Jun-06 2:58
Tamimi - Code11-Jun-06 2:58 
GeneralRe: "operation must use an updatable query" error message Pin
isiran12-Jun-06 19:38
isiran12-Jun-06 19:38 
QuestionHow to Run exe from memory ? Pin
hdv21211-Jun-06 2:08
hdv21211-Jun-06 2:08 
QuestionSerializationException When Remoting Pin
janlala11-Jun-06 1:28
janlala11-Jun-06 1:28 
Questionweb browser and change footer printing Pin
Nafiseh Salmani11-Jun-06 1:27
Nafiseh Salmani11-Jun-06 1:27 
QuestionXmlTextReader in PDA Pin
AhsanS11-Jun-06 0:07
AhsanS11-Jun-06 0:07 
AnswerRe: XmlTextReader in PDA Pin
Colin Angus Mackay11-Jun-06 0:21
Colin Angus Mackay11-Jun-06 0:21 
GeneralRe: XmlTextReader in PDA Pin
AhsanS11-Jun-06 0:23
AhsanS11-Jun-06 0:23 
GeneralRe: XmlTextReader in PDA Pin
Yustme11-Jun-06 4:31
Yustme11-Jun-06 4:31 
QuestionImport excel sheet in sql database Pin
John Ahmad10-Jun-06 23:03
John Ahmad10-Jun-06 23:03 
AnswerRe: Import excel sheet in sql database Pin
Stanciu Vlad11-Jun-06 5:08
Stanciu Vlad11-Jun-06 5:08 
QuestionHow to implement abort functionality Pin
engsrini10-Jun-06 20:55
engsrini10-Jun-06 20:55 
AnswerRe: How to implement abort functionality Pin
Jun Du11-Jun-06 2:13
Jun Du11-Jun-06 2:13 
I can give you some thoughts based on my experience. A thread can be terminated in three ways:
1) The thread functio returns. (Recommended)
2) The thread kills itself. (Avoid)
3) Somebody else kills this thread. (Avoid)

You should always design your thread functions so that they returns when you want the thread to terminate. This way, you can clean up things, e.g., closing read/write files. In practice, use some thread synchronization objects, such as event, mutex or semaphore. When the calling thread wants your testing thread to terminate/abort, send a signal through one of these sychronization objects. This design is pretty mature and should resolve your stability issue.

Hope this answers your questions.

- It's easier to make than to correct a mistake.
QuestionHow to Specify DialogResult Pin
Richard Andrew x6410-Jun-06 18:28
professionalRichard Andrew x6410-Jun-06 18:28 
AnswerRe: How to Specify DialogResult Pin
Super Lloyd10-Jun-06 20:16
Super Lloyd10-Jun-06 20:16 
GeneralRe: How to Specify DialogResult Pin
Richard Andrew x6410-Jun-06 20:17
professionalRichard Andrew x6410-Jun-06 20:17 
GeneralRe: How to Specify DialogResult Pin
Super Lloyd10-Jun-06 20:46
Super Lloyd10-Jun-06 20:46 
Questionsqlconnection by_IP Pin
Mohammed Elkholy10-Jun-06 11:09
Mohammed Elkholy10-Jun-06 11:09 
AnswerRe: sqlconnection by_IP Pin
Guffa10-Jun-06 11:19
Guffa10-Jun-06 11:19 
Questionrunning two UI threads in same application Pin
venkyp10-Jun-06 10:43
venkyp10-Jun-06 10:43 

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.