Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     FluenctExport fe = new FluenctExport( PublicProperty.m_dsPatients);
     Thread t = new Thread(fe.ExportPatsInfo);
     t.Start();
     //fe.ExportPatsInfo(PublicProperty.m_dsPatients);
 }
Exemple #2
0
 /// <summary>
 /// ִ�е���
 /// </summary>
 public static void ExeExport(DataTable p_dtOnePatInfo)
 {
     IExport ie = null;
     string _strExportType = uctlBaseConfig.GetConfig("ExportType");
     switch (_strExportType)
     {
         case "DB":
             ie = new SingleObjectDBExport(p_dtOnePatInfo);
             break;
         case "DBF":
             ie = new ExportDBF(p_dtOnePatInfo);
             break;
         case "EXCEL":
             ie = new ExportExcel(p_dtOnePatInfo);
             //string _strExceltPath =  uctlBaseConfig.GetConfig("ExceltPath");
             //PublicVar.ExcelPath = _strExceltPath;
             //PublicVar.ExcelSource = PublicVar.ExportData.Tables[0];
             break;
         case "XML":
             ie = new FluenctExport(PublicVar.m_dsPatients);
             break;
         default:
             CommonFunction.WriteError("δ֪��������:" + _strExportType);
             break;
     }
     ie.Export();
 }
 private void button1_Click(object sender, EventArgs e)
 {
     //DataTable _dt = GetRestorePat();
     FluenctExport fe = new FluenctExport();
     fe.ExportOnePatInfoForOneObj(GetCurrentObject(), GetCurrentPatientId(), GetCurrentPatientVisitId());
     //Thread t = new Thread(fe.ExportOnePatInfoForOneObj);
     //t.Start();
 }
 private void button2_Click(object sender, EventArgs e)
 {
     DataTable _dt = GetRestorePat();
     foreach (DataRow var in _dt.Rows)
     {
         FluenctExport fe = new FluenctExport();
         fe.ExportOnePatInfoForOneObj(var["object_name"].ToString(), var["patient_id"].ToString(), var["visit_id"].ToString());
     }
 }
Exemple #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            //DataTable _dt = GetRestorePat();
            FluenctExport fe = new FluenctExport();

            fe.ExportOnePatInfoForOneObj(GetCurrentObject(), GetCurrentPatientId(), GetCurrentPatientVisitId());
            //Thread t = new Thread(fe.ExportOnePatInfoForOneObj);
            //t.Start();
        }
Exemple #6
0
        private void button2_Click(object sender, EventArgs e)
        {
            DataTable _dt = GetRestorePat();

            foreach (DataRow var in _dt.Rows)
            {
                FluenctExport fe = new FluenctExport();
                fe.ExportOnePatInfoForOneObj(var["object_name"].ToString(), var["patient_id"].ToString(), var["visit_id"].ToString());
            }
        }