----- Original Message -----
From: "Brian Gaer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 6:08 PM
Subject: [ADVANCED-DOTNET] Async Data Commands with ADO.Net


> Is anyone familiar with a method to have an ADO.Net command object
> perform a command.ExecuteNonQuery() asynchronously?
>
>
>
> The Stored Proc I am calling takes from 2 to 10 minutes to return, and I
> cannot wait for it and do not care what the results of the query are.
> I searched all over and the only option I have found is creating a new
> thread to make the database call.
>
>
>
> Is there any other way that anyone is aware of?
>

I would probably just queue up a work item in the threadpool and let it go
as it will.

>
>
> Language: C#,
>
> Database MSSQL Sever 2000
>
> Using ADO.Net
>
>
>
> Thank you,
>
>
>
> Brian Gaer
>
> [EMAIL PROTECTED]
>
>
>
>
> ===================================
> This list is hosted by DevelopMentorŪ  http://www.develop.com
> NEW! ASP.NET courses you may be interested in:
>
> 2 Days of ASP.NET, 29 Sept 2003, in Redmond
> http://www.develop.com/courses/2daspdotnet
>
> Guerrilla ASP.NET, 13 Oct 2003, in Boston
> http://www.develop.com/courses/gaspdotnet
>
> View archives and manage your subscription(s) at
http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to