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

前端 未结 8 1448
一整个雨季
一整个雨季 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:14

    Your best bet, starting fresh like you are, is to go grab the enterprise library. They have a configuration tool you can use to wire everything up for you nicely.

    They also have a data access application block which is very useful and documentation filled with good samples.

    http://www.microsoft.com/downloads/details.aspx?FamilyId=90DE37E0-7B42-4044-99BE-F8ECFBBC5B65&displaylang=en

提交回复
热议问题