62,074
社区成员
发帖
与我相关
我的任务
分享
<connectionStrings>
<add name="postgre" connectionString="PORT=5432;DATABASE=PAPS;HOST=127.0.0.1;PASSWORD=20180605;USER ID=postgres" />
</connectionStrings>
public void chkConnection()
{
if (this.SqlConn.State == ConnectionState.Closed)
{
this.SqlConn.Open();
}
}