티스토리 뷰

728x90
반응형

1. Web.config

<system.web>

    <compilation debug="true" targetFramework="4.6.1"/>

<httpRuntime targetFramework="4.6.1"/>

</system.web>


<connectionStrings>

<add name="CustomerDB" connectionString="Data Source=000.000.000.000,3750;Initial Catalog=CUSTOMER;User ID=your id;Password=your ;Trusted_Connection=False" providerName="System.Data.SqlClient" />

</connectionStrings>


2. Web.Debug.config

<connectionStrings>

<add name="CustomerDB" connectionString="Data Source=000.000.000.000,3750;Initial Catalog=CUSTOMER;User ID=your id;Password=your ;Trusted_Connection=False" providerName="System.Data.SqlClient" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />

</connectionStrings>


3. Web.Release.config

<connectionStrings>

<add name="CustomerDB" connectionString="Data Source=000.000.000.000,3750;Initial Catalog=CUSTOMER;User ID=your id;Password=your ;Trusted_Connection=False" providerName="System.Data.SqlClient" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />

</connectionStrings>

728x90
반응형