private void BindData() { ProgressProceedAction progressProceedAction = new ProgressProceedAction(); ProgressProceedInfo proceInfo = progressProceedAction.GetProceInfo(int.Parse(this.hidMainId.Value)); this.txtEntAuditDate.Text = proceInfo.EntAuditDate.ToShortDateString(); this.txtEntAuditIdea.Text = proceInfo.EntAuditIdea; this.txtEntAuditPeople.Text = ((proceInfo.EntAuditPeople == "") ? userManageDb.GetCurrentUserInfo().UserName : proceInfo.EntAuditPeople); this.ddlEntAuditResult.SelectedValue = (proceInfo.EntAuditResult ? "1" : "0"); this.txtAuditValue.Text = proceInfo.AuditValue.ToString(); }
private void BindData() { ProgressProceedAction progressProceedAction = new ProgressProceedAction(); ProgressProceedInfo proceInfo = progressProceedAction.GetProceInfo(int.Parse(this.hidMainId.Value)); this.txtPPMSerialNumber.Text = proceInfo.PPMSerialNumber; this.txtPPMRemark.Text = proceInfo.PPMRemark; this.txtPPMGroupIdea.Text = proceInfo.PPMGroupIdea; this.txtPPMDeclareUnitIdea.Text = proceInfo.PPMDeclareUnitIdea; this.txtPPMCommitteeIdea.Text = proceInfo.PPMCommitteeIdea; this.ddlPPMAuditResult.SelectedValue = proceInfo.PPMAuditResult.ToString(); }
private void BindData() { ProgressProceedAction progressProceedAction = new ProgressProceedAction(); int mainID = (this.hidMainId.Value == "") ? 0 : int.Parse(this.hidMainId.Value); ProgressProceedInfo proceInfo = progressProceedAction.GetProceInfo(mainID); this.txtAccount.Text = proceInfo.Account; this.txtAdministerFruitUnit.Text = proceInfo.AdministerFruitUnit; this.txtAppPrejectName.Text = proceInfo.AppPrejectName; this.txtDealinMinister.Text = proceInfo.DealinMinister; this.txtEndDate.Text = proceInfo.EndDate.ToShortDateString(); this.txtEngineer.Text = proceInfo.Engineer; this.txtEtcaeterasPeopleAmount.Text = proceInfo.EtcaeterasPeopleAmount.ToString(); this.txtFruitContent.Text = proceInfo.FruitContent; this.txtFruitName.Text = proceInfo.FruitName; this.txtPPMAdvancementIncomeCount.Text = proceInfo.PPMAdvancementIncomeCount.ToString(); this.txtPrejectMinister.Text = proceInfo.PrejectMinister; this.txtStartDate.Text = proceInfo.StartDate.ToShortDateString(); this.hidMainId.Value = proceInfo.MainID.ToString(); }