DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 19 Jul 2007 02:27:54 -0400,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    Bill Gower
          2    Eric Moreau


BackgroundWorkers and ADO.Net   
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
Date:Thu, 19 Jul 2007 02:27:54 -0400   Author:  

Re: BackgroundWorkers and ADO.Net   
See 
http://www.emoreau.com/Entries/Articles/2006/11/MARS-and-Asynchronous-ADONet.aspx

-- 


ALP

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

"Bill Gower"  wrote in message 
news:%2350ex3cyHHA.1164@TK2MSFTNGP02.phx.gbl...

>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
>
> 
Date:Thu, 19 Jul 2007 06:10:22 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us