ADO.NET Question: Download ADO.NET PDF
can we connect two dataadapters to same data source using single connection at same time?
Answer:
yes,we can connect two dataadapters 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";
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";
Previous Question | Next Question |
What is ADO.NET? | Can we do database operations without using any of the ADO.net objects? |