RE: can we connect two datareader to same data source ...
No. You will get a runtime error:// System.InvalidOperationException: There is already an open DataReader associated with this Connection which must be closed first.//SO Connection has to be closed before it is used for another DataReader.
RE: can we connect two datareader to same data source ...
Yes you 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.
RE: can we connect two datareader to same data source ...
It is bit ambiguous there are two scenerios (1) want to connect two datareader to single database . (2) want to connect two datareader to single database using single connection.
In first scenerio it is possible to connect two datareader to single database using different connection. But in second scenerio it is not possible to connect two datareader to single database connection
RE: can we connect two datareader to same data source using single connection at same time?
yes we can connect two dataadaters to same datasource using single connection at same time. There is a technology in ado.net 2.0 called MARS usinng Mars in connection string we can do it. for eg: cn.ConnectionString "server (local); database employee; integrated security sspi; MultipleActiveResultSets True";