Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
QuestionReplacing LF with CRLF in text file Pin
KimberlyKetchum7-Feb-12 19:06
KimberlyKetchum7-Feb-12 19:06 
AnswerRe: Replacing LF with CRLF in text file Pin
SledgeHammer017-Feb-12 19:36
SledgeHammer017-Feb-12 19:36 
Questionsend mail in windows application Pin
Member 6126317-Feb-12 18:59
Member 6126317-Feb-12 18:59 
AnswerRe: send mail in windows application Pin
SledgeHammer017-Feb-12 19:32
SledgeHammer017-Feb-12 19:32 
AnswerRe: send mail in windows application Pin
Richard MacCutchan7-Feb-12 22:37
mveRichard MacCutchan7-Feb-12 22:37 
AnswerRe: send mail in windows application Pin
Jitendra Parida - Jeetu8-Feb-12 1:25
Jitendra Parida - Jeetu8-Feb-12 1:25 
QuestionExport to excel attachments not coming in excel Pin
Vinayak B7-Feb-12 18:36
Vinayak B7-Feb-12 18:36 
QuestionOptimising data retrieval in application with high refresh rate Pin
brendanpi7-Feb-12 17:16
brendanpi7-Feb-12 17:16 
Hello,

I am developing an all which requires me to update the screen rather often. At the moment it is set to 1 second, I can change it, but i wouldn't want to move it much past 5 seconds.

At the moment I have a BackgroundWorker doing the TableAdapter.Fill(), and then I am clearing the DataSet and Merging it for the final outcome. However, this is slow enough to block the UI, making things very jerky.

I tried moving the clear and Merge to the background thread, however when I did that it throws errors when you try to interact with the DataGridView whilst it's updating.


Any ideas?

Thanks,
Brendan
AnswerRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 18:34
SledgeHammer017-Feb-12 18:34 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
brendanpi7-Feb-12 18:40
brendanpi7-Feb-12 18:40 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
Mycroft Holmes7-Feb-12 18:48
professionalMycroft Holmes7-Feb-12 18:48 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 19:30
SledgeHammer017-Feb-12 19:30 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
Mycroft Holmes7-Feb-12 20:08
professionalMycroft Holmes7-Feb-12 20:08 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer018-Feb-12 3:58
SledgeHammer018-Feb-12 3:58 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 19:27
SledgeHammer017-Feb-12 19:27 
Questionprogramming unknown conditions Pin
SilimSayo7-Feb-12 15:40
SilimSayo7-Feb-12 15:40 
AnswerRe: programming unknown conditions Pin
R. Giskard Reventlov7-Feb-12 15:53
R. Giskard Reventlov7-Feb-12 15:53 
AnswerRe: programming unknown conditions Pin
candogu7-Feb-12 20:32
candogu7-Feb-12 20:32 
AnswerRe: programming unknown conditions Pin
BillWoodruff8-Feb-12 4:06
professionalBillWoodruff8-Feb-12 4:06 
AnswerRe: programming unknown conditions Pin
BobJanova8-Feb-12 4:07
BobJanova8-Feb-12 4:07 
AnswerRe: programming unknown conditions Pin
jschell8-Feb-12 8:23
jschell8-Feb-12 8:23 
AnswerRe: programming unknown conditions Pin
GParkings14-Feb-12 0:24
GParkings14-Feb-12 0:24 
Questionmysql table to Access database Pin
srscuda7-Feb-12 9:42
srscuda7-Feb-12 9:42 
AnswerRe: mysql table to Access database Pin
Richard Andrew x647-Feb-12 10:35
professionalRichard Andrew x647-Feb-12 10:35 
AnswerRe: mysql table to Access database Pin
SilimSayo7-Feb-12 15:43
SilimSayo7-Feb-12 15: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.