Pages

Men

rh

4/13/2013

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

Yes, we can connect two datareader to the same datasource, but one mainthing is close the first datareader before using second one then only it's possible.
                                       or
It is possible using MARS (Multi Active Record Set) in VS 2005. We can set MARS =True in the connection string, so that we can use 2 datareaders for a single connection.
                                       or
Yes.It is possible to use two datareaders at same time by using [MultipleActiveResultSets=true] in connecting string

No comments :

Post a Comment