方法一:

server=localhost;uid=sa;pwd=123;database=testt;

 

方法二:

Data Source=localhost;Initial Catalog=testt;User ID=sa; Password=123;

 

推荐使用第一种链接方法,第二种根据sql server的版本不同不兼容

相关文章:

  • 2022-01-29
  • 2021-07-26
  • 2021-07-18
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
猜你喜欢
  • 2021-09-21
  • 2022-12-23
  • 2021-07-03
  • 2021-08-21
  • 2021-11-26
  • 2022-12-23
相关资源
相似解决方案