Sql connection-string for localhost server

前端 未结 13 2115
遇见更好的自我
遇见更好的自我 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:12

    use this connection string :

    Server=HARIHARAN-PC\SQLEXPRESS;Intial Catalog=persons;Integrated Security=True;
    

    rename person with your database name

提交回复
热议问题