can we connect two dataadapters to same data source using single connection at same time?

 Posted by Bharathi Cherukuri on 5/21/2012 | Category: ADO.NET Interview questions | Views: 2244 | Points: 40
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 using Mars in connection string we can do it.

Example:

cn.ConnectionString = "server=(local); database=employee; integrated security=sspi; MultipleActiveResultSets=True";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response