Tuesday, August 4, 2009

How will you enable ADO.NET MARS ?


You can enable MARS by setting the MultipleActiveResultSets attribute in the Connection String as follows,

"Server=localhost;Database=Northwind;" +
"Trusted_Connection=True;MultipleActiveResultSets=True";




www.codecollege.NET

No comments:

Post a Comment