From b18a7c8e54b51a5caa400e55cb8cc428c0301a0c Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 21 一月 2022 17:27:22 +0800 Subject: [PATCH] 数据库连接 --- CY_ECommercePlatform/CY.WebForm/Web.config | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Web.config b/CY_ECommercePlatform/CY.WebForm/Web.config index 07a3e20..f0003a3 100644 --- a/CY_ECommercePlatform/CY.WebForm/Web.config +++ b/CY_ECommercePlatform/CY.WebForm/Web.config @@ -267,10 +267,10 @@ </exceptionPolicies> </exceptionHandling> <connectionStrings> - <add name="SqlConnection" connectionString="Server=CB2-20200827ONU;Database=ECTEST;Trusted_Connection=True;" providerName="System.Data.SqlClient" /> - <!-- <add name="SqlConnection" - connectionString="Data Source=DESKTOP-8E2C3RS;Initial Catalog=ECTEST;User ID=sa;Password=123456" - providerName="System.Data.SqlClient" />--> + <!--<add name="SqlConnection" connectionString="Server=CB2-20200827ONU;Database=ECTEST;Trusted_Connection=True;" providerName="System.Data.SqlClient" />--> + <add name="SqlConnection" + connectionString="Data Source=.;Initial Catalog=ECTEST;User ID=sa;Password=123456" + providerName="System.Data.SqlClient" /> <!--<add name="SqlConnection" connectionString="Data Source=118.123.213.60\SQLSERVER2008;Initial Catalog=ECTEST;User ID=sa;Password=123qwe!@#;" providerName="System.Data.SqlClient" />--> -- Gitblit v1.9.1