Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2007, 06:30 AM
Registered User
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Asynchronous Command Execution in ADO.NET 2.0

what is the best way to follow (callback/wait/polling)
cases when we prefer

 
Old February 8th, 2007, 10:31 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can create an instance of a delegate and call its "BeginInvoke" method, passing in the callback. As far as polling goes, that probably depends on what type of program you are writing and how it will behave.

Tell us what you are intending to build and we might be able to provide more direction.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell command execution error toshesh VB Databases Basics 3 January 7th, 2006 03:17 AM
asynchronous messaging in .Net jimbeam36 .NET Web Services 0 November 9th, 2004 07:40 AM
ADO Command Update hcweb Classic ASP Basics 2 January 14th, 2004 06:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.