数据库连接字符串

1.window身份验证

1 Integrated Security=SSPI;
2 initial catalog=northwind;
3 datasource=localhost;
4 connect Timeout=20

2.SQL验证

1 user id=sa;
2 password=;
3 initial catalog=northwind;
4 datasource=//IPAddress;
5 connect Timeout=20

 

posted on 2016-08-24 09:34  Joey.ZJ  阅读(111)  评论(0编辑  收藏  举报