aspx_professional thread: Making the transition from ADO to ADO.NET in ASP.NET....
...found the answer to my own question. Asynchronous queries can be issued
by spawning a new thread which is then used to execute the query. (This
gives the user the ability to cancel the query if it runs too long by
terminating the thread's execution.) Documentation of this may be found in
the Visual Studio.NET description of the SQLCommand.Cancel method.
-----Original Message-----
From: Matthew P. Seltzer [mailto:Matt.Seltzer@e...]
Sent: Tuesday, October 29, 2002 12:50 PM
To: ASPX_Professional
Subject: [aspx_professional] Making the transition from ADO to ADO.NET
in ASP.NET....
All--
I apologize in advance if my memory is faulty, but I seem to recall that
queries could be performed asynchronously in ADO 2.6+, and that an event
would be raised upon completion of the asynch query (which the programmer
could use at his/her discretion). How do we issue asynchronous queries in
ADO.NET, say, from an ASP.NET page? The only documentation that seems to
be even *remotely* relevant concerns issuing asynchronous WebService
invocations from an .aspx page. (Does this imply that the database query
made by the WebService, itself, is synchronous?) Please advise, because
it seems to me that ADO.NET has taken a quantum leap backward--I truly
hope that this is not the case.
Thank you,
Sincerely,
Matt Seltzer
EMI Recorded Music, NA
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
This e-mail including any attachments is confidential and may be legally privileged. If you have received it in error please advise
the sender immediately by return email and then delete it from your system. The unauthorized use, distribution, copying or
alteration of this email is strictly forbidden.
This email is from a unit or subsidiary of EMI Recorded Music, North America