This commit is contained in:
chi
2021-08-06 10:32:35 +09:00
parent 62492b67b1
commit 629fe85e73
5 changed files with 69 additions and 64 deletions

View File

@@ -136,6 +136,7 @@ namespace WebServer
}
else
{
Console.WriteLine($"View filename :{file}");
//디폴트뷰의 내용을 가져온다 (있다면 적용한다)
if (applydefaultview)
{

View File

@@ -32,7 +32,7 @@ namespace WebServer
if (FCOMMON.info.Login.gcode == null)
FCOMMON.info.Login.gcode = "EET1P";
sql = sql.Replace("{gcode}", FCOMMON.info.Login.gcode);
Console.WriteLine($"Getdata sql={sql}");
var cs = "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!";
var cn = new System.Data.SqlClient.SqlConnection(cs);
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
@@ -86,6 +86,7 @@ namespace WebServer
FCOMMON.info.Login.gcode = "EET1P";
sql = sql.Replace("{gcode}", FCOMMON.info.Login.gcode);
Console.WriteLine($"gettable sql={sql}");
var cs = "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!";
var cn = new System.Data.SqlClient.SqlConnection(cs);
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);