Connection String in web.config file

With userid and password
<appSettings>
<add key="SQLConnectionString" value="server=Servername;database=DatabaseName;uid=sa;pwd=Password"/>
</appSettings>


Without userid and password
<appSettings>
<add key="SQLConnectionString" value="server=SystemName;database=DataBaseName;trusted_connection=yes"/>
</appSettings>