Hello,
I'm having the most difficulty trying to figure out a way to cancel a long-running query using ado.net and the odbc provider. No matter what I try to do, it will sit there and wait for the database to respond with the records before it will do any action I requested, such as calling the odbcCommand.cancel method. I don't understand why they have this method if it doesn't work when its waiting to hear back from the database. I greatly appreciate if anyone can shed some light on this problem.
Thanks
I'm having the most difficulty trying to figure out a way to cancel a long-running query using ado.net and the odbc provider. No matter what I try to do, it will sit there and wait for the database to respond with the records before it will do any action I requested, such as calling the odbcCommand.cancel method. I don't understand why they have this method if it doesn't work when its waiting to hear back from the database. I greatly appreciate if anyone can shed some light on this problem.
Thanks