I am trying to create a connection string to store in my web config file. I want to later call that string and execute a command with it. What is the correct syntax for doing this? I'm new to web apps and c# in general so any help is appreciated.
Here is my string:
sqlConnectionString="Data Source=ServerName;initial catalog=myDatabase;persist security info=False;user id=UserName;Password=Password"