HI,
Use the following code in your webconfig file :
<configuration>
<appsettings>
<add key="conn" value="connection string here" />
</appsettings>
</configuration>
From the code behind you can able to access that like the following code.
myConnection = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["conn"]);
Thanks