SQL Server connection string

* Windows Authentication

"Persist Security Info=False; Integrated Security=SSPI; Server={0}; Database={1}; Connect Timeout={2}; Application Name={3}"

* SQL Server Authentication

"Persist Security Info=False; Server={0}; Database={1}; Uid={2}; Pwd={3}; Connect Timeout={4}; Application Name={5}"


Popular posts from this blog

Parse XML to dynamic object in C#

Parse XML to object model in C# using XSD utility