【C#】SqlServer连接数据库字符串

SqlServer身份验证

static string connectionString = "server=.;database=School;uid=sa;pwd=123";

Windwos身份验证

 static string connectionString = "server=.;database=School;Integrated Security =true;";

 

相关推荐
©️2020 CSDN 皮肤主题: 精致技术 设计师:CSDN官方博客 返回首页