Asynchronous data access - ADO.NET

Q.  To perform asynchronous data access, what must be added to the connection string?
- Published on 16 Jun 15

a. BeginExecute=true
b. MultiThreaded=true
c. MultipleActiveResultSets=true
d. Asynchronous=true

ANSWER: Asynchronous=true
 

    Discussion

  • Digvijay   -Posted on 21 Oct 15
    To create connection string with asynchronous processing for SQL server you have to set Asynchronous Processing=True.
    Example:
    String str=”Server=myServerAddress;Database=myDataBase;Integrated Security=True;Asynchronous Processing=True;”

Post your comment / Share knowledge


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