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