How to call the SQL commands asynchronously in ADO.NET
version 2.0
Answer Posted / sandyni
In the asynchronous method ,the client creates a SqlCommand
object.the client application also sets the async attribute
in the connection string to true. Next, the client invokes
any of the asynchronous methods such as
beginExecuteNonQuery, BeginExecuteReader, or
BeginExecuteXmlReader through the SqlCommand object.
After executing the sql command the asynchronous methods
will close by using
EndExecuteNonquery,EndExecuteScalar,EndExecuteReader.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to find the given query is optimised one or not?
Explain executenonquery?
What is Data Provider?
how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
What is the role of data provider in ado.net?
What are the drawbacks of using ado.net?
What are the types of databinding?
What is ado asp?
What is a dynaset in access?
How can we add relation between tables in a dataset?
Is bulk insert faster than insert?
What are the differences between OLEDB and SQLClient Providers?
What are the advantages of using datalist?
What is ado net stands for?
What is difference between datatable and dataset?