绑定SqlServer2000数据库
在web.config中添加配置节
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="ConnectionString" connectionString="Server=(local);uid=sa;pwd=sa;DataBase=pubs;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<remove name="LocalSqlServer" />
<add name="ConnectionString" connectionString="Server=(local);uid=sa;pwd=sa;DataBase=pubs;" providerName="System.Data.SqlClient"/>
</connectionStrings>