62,197
社区成员
发帖
与我相关
我的任务
分享
<sessionState
mode="InProc"
stateConnectionString="tcpip=192.168.0.39:42424"
sqlConnectionString="data source=192.168.0.39;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
protected SqlConnection con=new SqlConnection();
public ConnectionDemo()
{
con.ConnectionString="server=DISY39;uid=sa;pwd=;database=music";
}
stateConnectionString="tcpip=192.168.0.39:42424"
sqlConnectionString="data source=192.168.0.39;Trusted_Connection=yes"
con.ConnectionString="server=DISY39;uid=sa;pwd=;database=music;";
<sessionState mode= "SQLServer "
sqlConnectionString= "server=192.168.0.39;UID=sa;PWD=;database=music" / >