1. OLEDB provider:
Provider=sqloledb.1; Data Source=190.190.200.100,1433; Network Library=DBMSSOCN; Initial Catalog= pubs; UserID=YOURUSERID; Password=YOURPASSWORD;
(DBMSSOCN=TCP/IP instead of Named Pipes, at the end of the Data Source is the port to use (1433 is the default))

2. .Net connection string:
connectionString="Server=(local);Integrated Security=True;Database=BalloonShop" providerName="System.Data.SqlClient"

相关文章:

  • 2021-12-20
  • 2021-07-06
  • 2021-08-13
  • 2021-10-29
  • 2021-07-09
  • 2022-12-23
  • 2022-01-15
  • 2021-07-26
猜你喜欢
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案