I
I
isxaker2014-06-30 15:46:22
SQL
isxaker, 2014-06-30 15:46:22

Where can I find examples and self-learning materials for BeginExecuteReader?

The task is to write a waiting window that will be shown during the execution of long-running database queries, and from which it will be possible to kill these queries. Used .Net 4 , so without async and await . We need links to examples and materials where similar problems were solved. Or at least just examples of proper use of BeginExecuteReader() .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sumor, 2014-06-30
@Sumor

Why don't you like the example from MSDN?
msdn.microsoft.com/en-us/library/1a674khd(v=vs.110...
You can check the status of IAsyncResult not in a loop, as in the example, but in a timer, along the way displaying progress.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question