private void ShowInfo() { MyERP.BLL.VIP_GRADE bll = new MyERP.BLL.VIP_GRADE(); MyERP.Model.VIP_GRADE model = bll.GetModel(); this.txtCOMPANY_CODE.Text = model.COMPANY_CODE; this.txtGRADE_CODE.Text = model.GRADE_CODE; this.txtGRADE_NAME.Text = model.GRADE_NAME; this.txtGRADE_TYPE.Text = model.GRADE_TYPE; this.txtindate.Text = model.indate.ToString(); this.txtoutdate.Text = model.outdate.ToString(); this.txtLOW_SALES.Text = model.LOW_SALES.ToString(); this.txtTOTAL_SALES.Text = model.TOTAL_SALES.ToString(); this.txtzsrgrade.Text = model.zsrgrade.ToString(); this.txtstandrate.Text = model.standrate.ToString(); this.txtspecialrate.Text = model.specialrate.ToString(); this.txtbirthdayrate.Text = model.birthdayrate.ToString(); this.txtbirthdayspsrate.Text = model.birthdayspsrate.ToString(); this.txtyear_option.Text = model.year_option.ToString(); this.txtrun.Text = model.run; this.txtCREATE_NAME.Text = model.CREATE_NAME; this.txtCREATE_DATE.Text = model.CREATE_DATE.ToString(); this.txtUPDATE_NAME.Text = model.UPDATE_NAME; this.txtUPDATE_DATE.Text = model.UPDATE_DATE.ToString(); this.txtREMARK.Text = model.REMARK; }
private void ShowInfo() { MyERP.BLL.VIP_GRADE bll = new MyERP.BLL.VIP_GRADE(); MyERP.Model.VIP_GRADE model = bll.GetModel(); this.lblCOMPANY_CODE.Text = model.COMPANY_CODE; this.lblGRADE_CODE.Text = model.GRADE_CODE; this.lblGRADE_NAME.Text = model.GRADE_NAME; this.lblGRADE_TYPE.Text = model.GRADE_TYPE; this.lblindate.Text = model.indate.ToString(); this.lbloutdate.Text = model.outdate.ToString(); this.lblLOW_SALES.Text = model.LOW_SALES.ToString(); this.lblTOTAL_SALES.Text = model.TOTAL_SALES.ToString(); this.lblzsrgrade.Text = model.zsrgrade.ToString(); this.lblstandrate.Text = model.standrate.ToString(); this.lblspecialrate.Text = model.specialrate.ToString(); this.lblbirthdayrate.Text = model.birthdayrate.ToString(); this.lblbirthdayspsrate.Text = model.birthdayspsrate.ToString(); this.lblyear_option.Text = model.year_option.ToString(); this.lblrun.Text = model.run; this.lblCREATE_NAME.Text = model.CREATE_NAME; this.lblCREATE_DATE.Text = model.CREATE_DATE.ToString(); this.lblUPDATE_NAME.Text = model.UPDATE_NAME; this.lblUPDATE_DATE.Text = model.UPDATE_DATE.ToString(); this.lblREMARK.Text = model.REMARK; }