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

C#

 
QuestionOpen Child Form and threading Pin
Saamir12-Aug-09 3:50
Saamir12-Aug-09 3:50 
AnswerRe: Open Child Form and threading Pin
0x3c012-Aug-09 3:57
0x3c012-Aug-09 3:57 
GeneralRe: Open Child Form and threading Pin
Saamir12-Aug-09 4:05
Saamir12-Aug-09 4:05 
GeneralRe: Open Child Form and threading Pin
0x3c012-Aug-09 4:16
0x3c012-Aug-09 4:16 
GeneralRe: Open Child Form and threading Pin
Saamir12-Aug-09 4:33
Saamir12-Aug-09 4:33 
GeneralRe: Open Child Form and threading Pin
0x3c012-Aug-09 4:49
0x3c012-Aug-09 4:49 
GeneralRe: Open Child Form and threading Pin
Saamir12-Aug-09 5:27
Saamir12-Aug-09 5:27 
GeneralRe: Open Child Form and threading Pin
Dave Kreskowiak12-Aug-09 6:23
mveDave Kreskowiak12-Aug-09 6:23 
You only need one worker that gets the data from the database.

The form should kick off the background worker, then format it's datagrid as appropriate on the UI thread. ANY interaction with a control MUST be done on the UI thread, not from a background worker.

When the data fetching background work finishes it's job, just the the grid's DataSource property to the data returned.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Open Child Form and threading Pin
Saamir12-Aug-09 6:51
Saamir12-Aug-09 6:51 
GeneralRe: Open Child Form and threading Pin
Luc Pattyn12-Aug-09 7:59
sitebuilderLuc Pattyn12-Aug-09 7:59 
QuestionCut,Copy ,Paste Problem... Pin
Rahul DSG12-Aug-09 3:00
Rahul DSG12-Aug-09 3:00 
AnswerRe: Cut,Copy ,Paste Problem... Pin
ricmil4212-Aug-09 3:46
ricmil4212-Aug-09 3:46 
GeneralRe: Cut,Copy ,Paste Problem... Pin
Rahul DSG12-Aug-09 18:38
Rahul DSG12-Aug-09 18:38 
GeneralRe: Cut,Copy ,Paste Problem... Pin
ricmil4213-Aug-09 3:26
ricmil4213-Aug-09 3:26 
GeneralRe: Cut,Copy ,Paste Problem... Pin
Rahul DSG22-Aug-09 3:11
Rahul DSG22-Aug-09 3:11 
GeneralRe: Cut,Copy ,Paste Problem... Pin
ricmil4224-Aug-09 3:19
ricmil4224-Aug-09 3:19 
GeneralRe: Cut,Copy ,Paste Problem... Pin
Rahul DSG30-Aug-09 18:55
Rahul DSG30-Aug-09 18:55 
AnswerRe: Cut,Copy ,Paste Problem... Pin
Andrew Rissing12-Aug-09 3:47
Andrew Rissing12-Aug-09 3:47 
QuestionConnectionString Problem with MSACCESS Pin
M Riaz Bashir12-Aug-09 2:19
M Riaz Bashir12-Aug-09 2:19 
AnswerRe: ConnectionString Problem with MSACCESS Pin
Mike Ellison12-Aug-09 2:43
Mike Ellison12-Aug-09 2:43 
AnswerRe: ConnectionString Problem with MSACCESS Pin
Luc Pattyn12-Aug-09 2:54
sitebuilderLuc Pattyn12-Aug-09 2:54 
QuestionLimit checkedListBox for maximum values [modified] Pin
bonzaiholding12-Aug-09 2:08
bonzaiholding12-Aug-09 2:08 
AnswerRe: Limit checkedListBox for maximum values Pin
Ashfield12-Aug-09 2:09
Ashfield12-Aug-09 2:09 
GeneralRe: Limit checkedListBox for maximum values Pin
bonzaiholding12-Aug-09 2:11
bonzaiholding12-Aug-09 2:11 
AnswerRe: Limit checkedListBox for maximum values Pin
Alan N12-Aug-09 2:34
Alan N12-Aug-09 2:34 

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.