B
BillE
I am using a backgroundworker to execute a lengthy SQL Server stored
procedure.
There is no opportunity for the DoWork procedure to test the
CancellationPending property, so I can't cancel the operation.
What I would like to do instead is terminate the backgroundworker if a
cancel button is clicked.
Is there a good way to accomplish this?
Thanks
Bill
procedure.
There is no opportunity for the DoWork procedure to test the
CancellationPending property, so I can't cancel the operation.
What I would like to do instead is terminate the backgroundworker if a
cancel button is clicked.
Is there a good way to accomplish this?
Thanks
Bill