Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Oos.Numeral.Model.Numeral_Appointment model = BllNumApp.GetModel(GetQueryOrForms("ID"));
         if (model != null)
         {
             this.txtName.Text   = model.AppointmentName;
             this.txtPhone.Text  = model.AppointmentTel;
             this.txtIdcard.Text = model.AppointmentCard;
         }
     }
 }
Esempio n. 2
0
        public void undo()
        {
            string str = "0";

            Oos.Numeral.Bll.Numeral_Appointment   detTimeBll = new Oos.Numeral.Bll.Numeral_Appointment();
            Oos.Numeral.Model.Numeral_Appointment detModel   = detTimeBll.GetModel(GetQueryOrForms("KeyValue"));
            if (detModel != null)
            {
                detModel.IsTake = 2;
                if (detTimeBll.Update(detModel))
                {
                    str = "y";
                }
            }
            Response.Write(str);
            Response.End();
        }