Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How to call a stored proc asynchronously

Reply
Thread Tools

How to call a stored proc asynchronously

 
 
Dennis
Guest
Posts: n/a
 
      05-26-2004
Is it possible to call a stored procedure asynchronously from an ASP page?
We would like to be able to execute a proc and have the page continue to
process without having to wait for the proc to finish. I know you can make
a dll and call it from there, but we'd rather just be able to keep it simple
and call it from the page if we can.


 
Reply With Quote
 
 
 
 
Aaron Bertrand - MVP
Guest
Posts: n/a
 
      05-26-2004
This is what the adAsyncExecute flag is for.
http://www.aspfaq.com/2194

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"Dennis" <> wrote in message
news:...
> Is it possible to call a stored procedure asynchronously from an ASP page?
> We would like to be able to execute a proc and have the page continue to
> process without having to wait for the proc to finish. I know you can

make
> a dll and call it from there, but we'd rather just be able to keep it

simple
> and call it from the page if we can.
>
>



 
Reply With Quote
 
 
 
 
dlbjr
Guest
Posts: n/a
 
      05-26-2004
An easy way is to have two asp pages. One is the page with an XMLHTTP call to the other.
This will allow the main page to process at the same time the asynchronous XMLHTTP call processes
the data on the other asp and places the result in the main page.

'from dlbjr

'Unambit from meager knowledge of inane others,engender uncharted sagacity.


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Best method to call a long stored proc with WCF Cindy Lee ASP .Net 4 07-30-2010 02:19 PM
Convert VB.NET to TSQL PROC & Reference a Proc from another Proc David Lozzi ASP .Net 3 06-01-2005 06:35 PM
Can't call Stored Proc... How to trace Flow of Web Application in VB.NET? Mo ASP .Net 3 12-19-2003 07:03 PM
What is the diff btwn 'sho proc' and 'sho proc cpu' William J King Cisco 1 12-18-2003 11:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57