By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

multi thread - command.cancel

P: n/a
Hi!

i have a problem with cancel command.

i execute an sql query into the db, with the option to abort it, using
Thread.Abort().

the thing is, in the ThreadAbortException code, i try to perform
command.cancel.

i alway get the exception, that the command need and open and available
connection, which it has, but seems the connection got closed during the
abort operation.

is there a reason why the connection got closed during the abort operation ?

Thanks,
Uzi
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.