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
0 comments
Post a Comment