protected void Page_Load(object sender, EventArgs e) { if (this.Page.IsPostBack == false) { this.BindStatusList(); UserUploadQueryCondition initCondition = new UserUploadQueryCondition(); if (string.IsNullOrEmpty(Request.Params["operatorID"]) == false) { initCondition.Operator = Request.Params["operatorID"]; this.processUsers.ReadOnly = true; } if (string.IsNullOrEmpty(Request.Params["appName"]) == false) initCondition.ApplicationName = Request.Params["appName"]; if (string.IsNullOrEmpty(Request.Params["programName"]) == false) initCondition.ProgramName = Request.Params["programName"]; this.UserUploadCondition = initCondition; this.bindingControl.Data = this.UserUploadCondition; this.BindDataGrid(); } else { this.bindingControl.Data = this.UserUploadCondition; } }
protected void Page_Load(object sender, EventArgs e) { if (this.Page.IsPostBack == false) { this.BindStatusList(); UserUploadQueryCondition initCondition = new UserUploadQueryCondition(); if (string.IsNullOrEmpty(Request.Params["operatorID"]) == false) { initCondition.Operator = Request.Params["operatorID"]; this.processUsers.ReadOnly = true; } if (string.IsNullOrEmpty(Request.Params["appName"]) == false) { initCondition.ApplicationName = Request.Params["appName"]; } if (string.IsNullOrEmpty(Request.Params["programName"]) == false) { initCondition.ProgramName = Request.Params["programName"]; } this.UserUploadCondition = initCondition; this.bindingControl.Data = this.UserUploadCondition; this.BindDataGrid(); } else { this.bindingControl.Data = this.UserUploadCondition; } }
/// <summary> /// 查询按钮事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Srarch_Click(object sender, EventArgs e) { this.bindingControl.CollectData(false); this.UserUploadCondition = this.bindingControl.Data as UserUploadQueryCondition; this.BindDataGrid(); }