I am making Windows Application in C# with SQL 2005
On my click button I am executing a query, Queru has multiple records.
It is like
Now, I have another stop button, now as soon as someone clicks on the stop button from windows application form,
my while loop do not work anymore and everything should stop, I can call my terminate process.
Can anyone help me how to do this
Many thanks in advance