What should you do to access the returned tabular data after starting execution of a command that runs asynchronously? (Choose all that apply.)
1. Call the EndExecuteNonQuery method.
2. Call the EndExecuteReader method.
3. Wait for the StatementCompleted event to fire and iterate through the DataReader.
4. Wait for the StatementCompleted event to fire, call the EndExecuteReader method,and then iterate through the DataReader.

Options
- 1, 2
- 1,2,3
- 2,3
- 2,4


CORRECT ANSWER : 2,4

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement