ASP.NET Web.config数据库连接配置
<connectionStrings>
<add name="BalloonShopConnection" connectionString="Data Source=localhost;Initial Catalog=BalloonShop;Persist Security Info=True;User ID=sa;Password=sa"
providerName="System.Data.SqlClient" />
</connectionStrings>
说明:<add name="ID标识" connectionString="Data Source=默认主机;Initial Catalog=数据库名;Persist Security Info=True;User ID=数据库登录名;Password=数据库登录密码"
providerName="System.Data.SqlClient" />