protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Request.QueryString["type"] != null) { SystemParamType systemParamType = (SystemParamType)Enum.Parse(typeof(SystemParamType), Request.QueryString["type"].ToString()); SystemParam systemParam = SystemParamService.QueryParam(systemParamType); if (systemParam != null) { this.txtType.Text = Request.QueryString["TypeName"].ToString(); this.txtValue.Text = systemParam.Value; this.ttRemark.InnerText = systemParam.Remark; this.txtType.Enabled = false; this.ttRemark.Disabled = true; } } } }