示例#1
0
 /// <summary>
 /// 根据 ParamCode 更新系统参数表记录
 /// </summary>
 /// <returns>返回系统参数受影响的行数</returns>
 public virtual int Update(ParameterOR parameter)
 {
     return db.ExecuteNoQuery("UPDATE T_BASE_PARAMETER SET   PARAM_VALUE = @PARAM_VALUE  WHERE PARAM_CODE = @PARAM_CODE",
         db.GetDataParameter("@PARAM_CODE", parameter.ParamCode),
         db.GetDataParameter("@PARAM_VALUE", parameter.ParamValue)
         );
 }
示例#2
0
 private ParameterOR SetValue()
 {
     ParameterOR m_Base = new ParameterOR();
     m_Base.ParamCode = Request.QueryString["id"];
     m_Base.ParamValue = txtParamValue.Text;
     return m_Base;
 }