Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            hisabrepport rpt = new hisabrepport();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
 private void rapport_Load(object sender, EventArgs e)
 {
     if (st == "المنخريطين")
     {
         CrystalReport2 r = new CrystalReport2();
         r.SetDataSource(table);
         crystalReportViewer1.ReportSource = r;
     }
     if (st == "اطفال الروض")
     {
         Elevereport r = new Elevereport();
         r.SetDataSource(table);
         crystalReportViewer1.ReportSource = r;
     }
     if (st == "الأساتذة")
     {
         profrepport r = new profrepport();
         r.SetDataSource(table);
         crystalReportViewer1.ReportSource = r;
     }
     if (st == "المستخدمين")
     {
         usrRepport r = new usrRepport();
         r.SetDataSource(table);
         crystalReportViewer1.ReportSource = r;
     }
     if (st == "المسؤولين")
     {
         respoRepport r = new respoRepport();
         r.SetDataSource(table);
         crystalReportViewer1.ReportSource = r;
     }
     if (st == "الحسابات")
     {
         hisabrepport r = new hisabrepport();
         r.SetDataSource(table);
         crystalReportViewer1.ReportSource = r;
     }
 }