public string ExecuteScalar(string parms) { ParamInfo parm = ParamInfo.Parse(parms); if (parm == null) { return(""); } return(DBHelper.ExecuteScalar(parm.SQL_ID, parm.Dic, parm.Arr)); }
public int ExecuteNoQuery(string parms) { ParamInfo parm = ParamInfo.Parse(parms); if (parm == null) { return(-1); } return(DBHelper.ExecuteNoQuery(parm.SQL_ID, parm.Dic, parm.Arr)); }
public DataTable ExecuteQuery(string parms) { ParamInfo parm = ParamInfo.Parse(parms); if (parm == null) { return(null); } return(DBHelper.ExecuteQuery(parm.SQL_ID, parm.Dic, parm.Arr)); }
public string ExecuteQuery8ID(string parms) { ParamInfo parm = ParamInfo.Parse(parms); if (parm == null) { return(""); } DataTable dt = null; if (parm.Dic == null) { dt = DBHelper.ExecuteQuery(parm.SQL_ID, parm.Arr); } else { dt = DBHelper.ExecuteQuery(parm.SQL_ID, parm.Dic); } return(HiCSUtil.Json.DataTable2Json(dt)); }