PC Review


Reply
Thread Tools Rate Thread

BackgroundWorkers and ADO.Net

 
 
Bill Gower
Guest
Posts: n/a
 
      19th Jul 2007
I have an app that allows the user to build a query and then click on a
button to execute the query and the results are then used to fill a grid.
Can I have the retrieval run in a backgroundworker and have a button that
would allow the user to cancel the query if it is running for too long of a
period? Is the BackgroundWorker able to populate a grid which is running in
the primary thread?

Bill


 
Reply With Quote
 
 
 
 
Eric Moreau
Guest
Posts: n/a
 
      19th Jul 2007
See
http://www.emoreau.com/Entries/Artic...us-ADONet.aspx

--


ALP

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com)

"Bill Gower" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have an app that allows the user to build a query and then click on a
>button to execute the query and the results are then used to fill a grid.
>Can I have the retrieval run in a backgroundworker and have a button that
>would allow the user to cancel the query if it is running for too long of a
>period? Is the BackgroundWorker able to populate a grid which is running
>in the primary thread?
>
> Bill
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BackgroundWorkers, Delegates, Form Controls. A good tutorial? Devin Microsoft VB .NET 0 24th Feb 2009 07:11 AM
Control number of BackgroundWorkers? Paul Hatcher Microsoft C# .NET 0 17th Nov 2008 10:20 AM
BackGroundWorkers MarcuEusebiu@gmail.com Microsoft C# .NET 6 31st May 2007 09:22 AM
BackgroundWorker run multiple new BackGroundWorkers ? harry Microsoft VB .NET 2 5th Mar 2007 09:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:00 AM.