Using the Web.Config to set up my SQL database connection string?

前端 未结 8 1379
一整个雨季
一整个雨季 2020-12-24 13:17

Can anyone help me out please? I\'m confused.

I want to set up my connection string so I can just call it from my Web.Config file.

I need a way to call it f

8条回答
  •  时光说笑
    2020-12-24 14:04

    If you use the Connect to Database under tools in Visual Studio, you will be able to add the name of the Server and database and test the connection. Upon success you can copy the string from the bottom of the dialog.

提交回复
热议问题