//INSERT LABOR WITH PROCEDURE public string aLaborPro(string pDbNm, Hashtable param, out Hashtable outVal) { string reVal = ""; DbLaborSearch db = null; try { string dbCon_IP = WebConfigurationManager.ConnectionStrings["ConnectionStr_IP"].ConnectionString; string dbCon_DB = "Initial Catalog=PLUS-" + pDbNm + ";"; string dbCon_USER = WebConfigurationManager.ConnectionStrings["ConnectionStr_USER"].ConnectionString; db = new DbLaborSearch(dbCon_IP, dbCon_DB, dbCon_USER, "1"); reVal = db.aLaborPro(param, out outVal); } catch (Exception ex) { logs.SaveLog("[error] (page)::BizLaborSearch.cs (Function)::aLaborPro (Detail):: " + " pDbNm=['" + pDbNm + "'], param=[" + param + "]", "Error"); outVal = null; logs.SaveLog("[error] (page)::BizLaborSearch.cs (Function)::aLaborPro (Detail)::" + "\r\n" + ex.ToString(), "Error"); } finally { if (db != null) { db.DisConnect(); } } return(reVal); }