我用SSPI就能成功链接,但是改成了用sql身份验证的方法就会提示用户登录失败,这是什么问题?是我sql设置问题还是什么问题
string sqlconn = "server=(local);database=berserker;user id=chen;password=1111";
SqlConnection myconnection = new SqlConnection(sqlconn);
myconnection.Open();这么写的话,就会链接失败。为什么呢,需要怎么修改
string sqlconn = "server=(local);database=berserker;user id=chen;password=1111";
SqlConnection myconnection = new SqlConnection(sqlconn);
myconnection.Open();这么写的话,就会链接失败。为什么呢,需要怎么修改
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货