public int mCompanySiteLog(string pCoCd, string pSiteCd, string pCoNm, string pConstCcd, string pCoTypeScd, string pStartDate, string pEndDate, string pUsingFlag, string pSortNo, string pMemo, string pInputId) { int reCnt = 0; DbCompany db = null; try { string dbCon_IP = WebConfigurationManager.ConnectionStrings["ConnectionStr_IP"].ConnectionString; string dbCon_DB = WebConfigurationManager.ConnectionStrings["ConnectionStr_DB"].ConnectionString; string dbCon_USER = WebConfigurationManager.ConnectionStrings["ConnectionStr_USER"].ConnectionString; db = new DbCompany(dbCon_IP, dbCon_DB, dbCon_USER, "0"); reCnt = db.mCompanySiteLog(pCoCd, pSiteCd, pCoNm, pConstCcd, pCoTypeScd, pStartDate, pEndDate, pUsingFlag, pSortNo, pMemo, pInputId); } catch (Exception ex) { _logs.SaveLog("[error] (page)::BizCompany.cs (Function)::mConpanyMainLog (Detail)::pCoCd=[" + pCoCd + "], pSiteCd=[" + pSiteCd + "], pCoNm=[" + pCoNm + "]" + ", pConstCcd=[" + pConstCcd + "], pCoTypeScd=[" + pCoTypeScd + "], pStartDate=[" + pStartDate + "], pEndDate=[" + pEndDate + "], pUsingFlag=[" + pUsingFlag + "], pSortNo=[" + pSortNo + "], pMemo=[" + pMemo + "], pInputId=[" + pInputId + "]", "Error"); _logs.SaveLog("[error] (page)::BizCompany.cs (Function)::mCompanySiteLog (Detail)::" + "\r\n" + ex.ToString(), "Error"); } finally { if (db != null) { db.DisConnect(); } } return(reCnt); }