protected override void OnPreRender(EventArgs e)
        {
            ReportPageHelper.SetControlValue(this, this.Request.Params);
            ReportPageHelper.DoQueryForBSHome(this, this.Request.Params, this.DoQuery);

            base.OnPreRender(e);
        }
        protected override void OnPreRender(EventArgs e)
        {
            if (!this.IsPostBack)
            {
                this.UCWhereConditions1.UserSelectGoodSemiGood = ItemType.ITEMTYPE_FINISHEDPRODUCT;
            }

            ReportPageHelper.SetControlValue(this, this.Request.Params);
            ReportPageHelper.DoQueryForBSHome(this, this.Request.Params, this.DoQuery);

            if (this.AutoRefresh)
            {
                this.DoQuery();
            }

            base.OnPreRender(e);
        }