Reply Review

Reply to:

Shaun wrote on 2011-03-15 11:19:15

The "Cancel()" code is incorrect. Unless the query is being executed on another thread, the "ExecuteNonQuery" will block the current thread until the command has been fully executed. Cancel() will only be called after the command has finished, at which point, there is nothing to cancel.

Message:
Name:
Email:
(optional)
(Your email that entered here will not show anywhere on website and will use only reference when someone reply your post)
  I want to receive a copy of email on this post (your email is needed)
 
Code:
 
 
Search this site
Programming Tutorial
CSharp (21)
PHP (12)
HTML (12)
ASP (14)