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...


What is the significance of CommandBehavior.CloseConnection ?



What is the significance of CommandBehavior.CloseConnection ?..

Answer / Rani Tyagi

CommandBehavior.CloseConnection in ADO.NET is a flag that can be passed to the ExecuteReader() or ExecuteScalar() methods to indicate that the connection should be closed when the command execution completes. This can help conserve resources if you don't need to keep the connection open.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What we do with the object of ado.net dataset after using it?

1 Answers  


Describe datareader object of ado.net with example.

1 Answers  


What does adodb stand for?

1 Answers  


What is the namespace in which .NET has the data functionality classes?

5 Answers   eMantras,


What is ado object model?

1 Answers  


How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?

1 Answers  


Which keyword is used to accept variable number of parameters?

1 Answers  


What is the difference between executequery and executenonquery?

1 Answers  


What is fill method in ado.net?

1 Answers  


How to retrieve the third table value from the data set?

2 Answers   Network Solutions,


Can I use One Data Set for More than one Data Adapter?

6 Answers  


What is aggregating data ?

1 Answers  


Categories