RSS
 

Multiple Active Result Set (MARS) @ADO.Net

05 Jul

While my certification study i want to share this information with any one, On a standard connection—that is, one that doesn’t use MARS—it is possible to have only a single open result set at any moment during the lifetime of the connection. This means that should multiple operations be required, the connection must be closed and reopened each time, which can be an expensive process. (ADO.Net MCTS EBook)

but you need to do this by To use MARS, a simple modification to the connection string is required, namely, another name-value pair called MultipleActiveResultSets=true. Look at what happens with this setting enabled

 
 

Tags: , ,

Leave a Reply

 

 
  1. Kr1Tz

    July 18, 2010 at 7:39 pm

    it was very interesting to read.
    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

     
 
 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up