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; } }
/// <summary> /// 更新一条数据 /// </summary> public bool Update(Maticsoft.Model.Patient model) { return(dal.Update(model)); }
/// <summary> /// 增加一条数据 /// </summary> public bool Add(Maticsoft.Model.Patient model) { return(dal.Add(model)); }