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
What are the essential features of ado.net?
What are dataproviders?
What is difference between datatable and dataset?
What is the difference between sqldatareader and sqldataadapter?
What is shadow copy?
Explain the dataadapter class in ado.net?
How can we serialize the dataset object?
Which is faster entity framework or ado.net?
What is ado.net object model?
What is the meaning of executenonquery?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
What is the hierarchy of data in databases?
What is disconnected data?
describe the dataset object in ado.net.
Does sqlclient and oledb class share the same functionality?