You have an SQL query that takes one minute to execute. You use the following code segment to execute the<br /> SQL query asynchronously.<br /> Dim ar As IAsyncResult = cmd.BeginExecuteReader()<br /> You need to execute a method named DoWork() that takes one second to run while the SQL query is executing.<br /> DoWork() must run as many times as possible while the SQL query is executing.<br /> Which code segment should you use?()<p> You have an SQL query that takes one minute to execute. You use the following code segment to execute the<br /> SQL query asynchronously.<br /> Dim ar As IAsyncResult = cmd.BeginExecuteReader()<br /> You need to execute a method named DoWork() that takes one second to run while the SQL query is executing.<br /> DoWork() must run as many times as possible while the SQL query is executing.<br /> Which code segment should you use?()</p>
A、A.
B.
C.
D.