Home > Net >  C # connection is essentially different database instance name
C # connection is essentially different database instance name

Time:12-16

Connection used c # database connection string is sometimes "Data Source=. \ SQLEXPRESS," with "Data Source=." sometimes, that is to say, different code to modify the server name, excuse me what method can automatically obtain the server name on different computer? Thank you very much!
  •  Tags:  
  • C#
  • Related