How to create connection String Using MARS

This article explains the connection string used to connect MARS with database.
  • 2537

To create connection string using MARS (Multiple Active Result Set) in .NET Framework we need to put your server address, your database name, set the state true for Trusted Connection and Multiple Active Result Sets.

Syntax

Server=urServerAddress;Database=urDataBase;Trusted_Connection=True;MultipleActiveResultSets=true;

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.