Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What do you mean by ‘batch updates’?

1043


What are the drawbacks of using ado.net?

967


Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

997


What is connected architecture in ado.net?

1055


Which name space is used to get assembly details?

981


What are ado.net objects?

1104


Can we connect two dataadapters to same data source using single connection at same time?

974


Explain how to find the given query is optimised one or not?

1019


What are the important features of ado.net 2.0?

1071


What are the advantages and drawbacks of using ado.net?

1108


Define executenonquery?

908


What are the major difference between classic ADO and ADO.NET?

1006


How do you find the count of records in a dataset?

965


What are the different methods available under the sqlcommand class to access the data?

1036


Why is it important to close an ado.net application?

1014