Ejemplo n.º 1
0
        private DataSet GetTreatInfo()
        {
            DataSet ds = new DataSet();

            if (cbTreatInfo.Checked)
            {
                Maticsoft.BLL.TreatInfo bll = new Maticsoft.BLL.TreatInfo();
                DataSet dsTreatInfo         = bll.GetListWithTitle("");
                dsTreatInfo.Tables[0].TableName = "治疗情况";
                ds.Merge(dsTreatInfo);
            }
            if (cbTreatInfoBadAction.Checked)
            {
                Maticsoft.BLL.BadReaction badBLL = new Maticsoft.BLL.BadReaction();
                DataSet dsBad = badBLL.GetListWithTitle(" AND g.peroid=" + TreatPeroid.InTreatment.ToString());
                dsBad.Tables[0].TableName = "术中不良事件";
                ds.Merge(dsBad);
            }


            return(ds);
        }