public int mCompanyMemco(string pSiteCd, string pCoCd, string pCoNm, string pHeadcoCd, string pConstCcd, string pCoTypeScd, string pSortNo) { 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.mCompanyMemco(pSiteCd, pCoCd, pCoNm, pHeadcoCd, pConstCcd, pCoTypeScd, pSortNo); } catch (Exception ex) { _logs.SaveLog("[error] (page)::BizCompany.cs (Function)::mCompanyMemco (Detail)::pSiteCd=[" + pSiteCd + "], pCoCd=[" + pCoCd + "], pCoNm=[" + pCoNm + "], pHeadcoCd=[" + pHeadcoCd + "]" + ", pConstCcd=[" + pConstCcd + "], pCoTypeScd=[" + pCoTypeScd + "], pSortNo=[" + pSortNo + "]", "Error"); _logs.SaveLog("[error] (page)::BizCompany.cs (Function)::mCompanyMemco (Detail)::" + "\r\n" + ex.ToString(), "Error"); } finally { if (db != null) { db.DisConnect(); } } return(reCnt); }