public int aSetAuthSiteMemberDBLog(string pDbnm, string pSiteCd, string pMenuCd, string pAuthCd, string pViewFlag, string pNewFlag, string pModifyFlag, string pDelFlag, string pReportFlag, string pPrintFlag, string pDownloadFlag, string pInputId) { int reCnt = 0; DbMenuMainDB 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 DbMenuMainDB(dbCon_IP, dbCon_DB, dbCon_USER); reCnt = db.aSetAuthSiteMemberDBLog(pDbnm, pSiteCd, pMenuCd, pAuthCd, pViewFlag, pNewFlag, pModifyFlag, pDelFlag, pReportFlag, pPrintFlag, pDownloadFlag, pInputId); } catch (Exception ex) { _logs.SaveLog("[error] (page)::BizMenuMainDB.cs (Function)::aSetAuthSiteMemberDBLog (Detail)::, pDbnm=['" + pDbnm + "'], pSiteCd=[" + pSiteCd + "]" + ", pMenuCd=['" + pMenuCd + "'], pAuthCd=['" + pAuthCd + "'], pViewFlag=[" + pViewFlag + "]" + ", pNewFlag=[" + pNewFlag + "], pModifyFlag =[" + pModifyFlag + "], pDelFlag=[" + pDelFlag + "], pReportFlag=[" + pReportFlag + "]" + ", pPrintFlag =[" + pPrintFlag + "], pDownloadFlag =[" + pDownloadFlag + "], pInputId =[" + pInputId + "]", "Error"); _logs.SaveLog("[error] (page)::BizMenuMainDB.cs (Function)::aSetAuthSiteMemberDBLog (Detail)::" + "\r\n" + ex.ToString(), "Error"); } finally { if (db != null) { db.DisConnect(); } } return(reCnt); }