Question : Abort sql query in the middle of the execution process.

Hi,

I want to abort my sql query in the middle of the execution process,how can i do it?
I 'am using ADO.Net  with sql server 2005.

thank,
dud1

Answer : Abort sql query in the middle of the execution process.

Using the link that I provided you will be able to see how to do that. For example open the database connection, run query in assyns. mode. Now you will have to add handler so that if the query completes runs some specific code.
This way you have the possibility to cancel the query.
More explenation in :

http://www.devx.com/dotnet/Article/22358/0/page/1
Random Solutions  
 
programming4us programming4us