private void BindData()
    {
        ProgressPlanAction progressPlanAction = new ProgressPlanAction();
        ProgressPlanInfo   onePlanInfo        = progressPlanAction.GetOnePlanInfo(this.planId);

        this.txtPermissionPeople.Text = onePlanInfo.PermissionPeople;
        this.txtPermissionView.Text   = onePlanInfo.PermissionView;
        if (onePlanInfo.AuditState > 2)
        {
            this.ddlAuditState.SelectedValue = onePlanInfo.AuditState.ToString();
        }
    }
Exemple #2
0
    private void BindData()
    {
        ProgressPlanAction progressPlanAction = new ProgressPlanAction();
        ProgressPlanInfo   onePlanInfo        = progressPlanAction.GetOnePlanInfo(this.planId);

        this.txtResultUint.Text    = onePlanInfo.ResultsHolders;
        this.txtCompletedDate.Text = onePlanInfo.CompletedDate.ToShortDateString();
        this.txtApplication.Text   = onePlanInfo.ApplicationName;
        this.txtPlanCode.Text      = onePlanInfo.PlanCode;
        this.txtResultName.Text    = onePlanInfo.ResultsName;
        this.txtNotes.Text         = onePlanInfo.Remark;
        this.txtPlanSort.Text      = ((onePlanInfo.PlanSort != null) ? onePlanInfo.PlanSort.Trim() : "");
        this.hdnProgressGuid.Value = onePlanInfo.ProgressGuid;
    }
    private void BindData()
    {
        ProgressPlanAction progressPlanAction = new ProgressPlanAction();
        ProgressPlanInfo   onePlanInfo        = progressPlanAction.GetOnePlanInfo(this.planId);

        this.txtDeclareUnitView.Text      = onePlanInfo.DeclareUnitView;
        this.txtPanelView.Text            = onePlanInfo.PanelView;
        this.txtPlanCode.Text             = onePlanInfo.PlanCode;
        this.txtRemark.Text               = onePlanInfo.Remark;
        this.txtVettingCommitteeView.Text = onePlanInfo.VettingCommitteeView;
        if (onePlanInfo.AuditState < 3)
        {
            this.ddlAuditState.SelectedValue = onePlanInfo.AuditState.ToString();
        }
    }