Esempio n. 1
0
        private void BindPatientDetail()
        {
            Maticsoft.BLL.Patient   bll = new Maticsoft.BLL.Patient();
            Maticsoft.Model.Patient p   = bll.GetModel(int.Parse(PatientID));

            if (p != null)
            {
                this.txtIDNo.Text = p.IDCode;
                this.txtName.Text = p.Name;
            }
        }
Esempio n. 2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(Maticsoft.Model.Patient model)
 {
     return(dal.Update(model));
 }
Esempio n. 3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public bool Add(Maticsoft.Model.Patient model)
 {
     return(dal.Add(model));
 }