Exemplo n.º 1
0
 private void ShowInfo(string AUTO_NO)
 {
     PD_PROJECT_BZFFLIST_Model model = new PD_PROJECT_BZFFLIST_Bll().GetModel(AUTO_NO);
     this.lblAUTO_NO.Text = model.AUTO_NO;
     this.txtPD_BZFFLIST_DATE.Text = model.PD_BZFFLIST_DATE.ToString();
     this.txtPD_BZFFLIST_COMPANY.Text = model.PD_BZFFLIST_COMPANY;
     this.ddlPD_BZFFLIST_COUNTRY.SelectedValue = model.PD_BZFFLIST_COUNTRY;
     this.txtPD_BZFFLIST_PEASANT_CODE.Text = model.PD_BZFFLIST_PEASANT_CODE;
     this.txtPD_BZFFLIST_PEASANT_NAME.Text = model.PD_BZFFLIST_PEASANT_NAME;
     this.txtPD_BZFFLIST_IDNO.Text = model.PD_BZFFLIST_IDNO;
     this.txtPD_BZFFLIST_FFNUM.Text = model.PD_BZFFLIST_FFNUM.ToString();
     this.txtPD_BZFFLIST_FFSTAND.Text = model.PD_BZFFLIST_FFSTAND.ToString();
     this.txtPD_BZFFLIST_FFMONEY.Text = model.PD_BZFFLIST_FFMONEY.ToString();
     this.txtPD_BZFFLIST_ACCOUNTNO.Text = model.PD_BZFFLIST_ACCOUNTNO;
     this.txtPD_BZFFLIST_PEASANT_ADDR.Text = model.PD_BZFFLIST_PEASANT_ADDR;
 }
Exemplo n.º 2
0
 private void UpdataData(string AUTO_NO)
 {
     PD_PROJECT_BZFFLIST_Bll bll = new PD_PROJECT_BZFFLIST_Bll();
     PD_PROJECT_BZFFLIST_Model model = this.GetModel(bll.GetModel(AUTO_NO));
     bll.Update(model);
     PageShowText.Refurbish("修改成功", this.Page);
 }
Exemplo n.º 3
0
 private void CreateData()
 {
     PD_PROJECT_BZFFLIST_Bll bll = new PD_PROJECT_BZFFLIST_Bll();
     PD_PROJECT_BZFFLIST_Model model = new PD_PROJECT_BZFFLIST_Model();
     model = this.GetModel(null);
     if (model != null)
     {
         bll.Add(model);
     }
     else
     {
         return;
     }
     PageShowText.Refurbish("添加成功", this.Page);
 }