Sql connection-string for localhost server

前端 未结 13 2113
遇见更好的自我
遇见更好的自我 2020-12-09 01:28

I am newbie in this .NET and please don\'t mind in answering my simple question. I am trying to write a windows application, where in I am using a localhost SQLserver for da

13条回答
  •  借酒劲吻你
    2020-12-09 02:01

    In .Net configuration I would use something like:

    "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=..."
    

    This information is from https://www.connectionstrings.com/sql-server-2016/

提交回复
热议问题