using System.Configuration;下面是获取连接SqlConnection myConn=new SqlConnection(ConfigurationSettings.AppSettings["ConnectionString"]);
Web.Config中