asp.net 小记
1. 后台调用JS
Page.ClientScript.RegisterStartupScript(this.GetType(), "MyScript", "<script>alert('" + msg + "',true);</script>");
2.Web.config 数据库连接字符串
<connectionStrings>
<add name="SQLConnString1" connectionString="server=PC-20120516AOSG(服务器端SQL服务器名称);user id=sa;password=123456;database=NDB2300;min pool size=4;max pool size=100;packet size=3072" providerName="System.Data.SqlClient"/>
</connectionStrings>