Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            TempIccdPayFee rpt = new TempIccdPayFee();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
 public FrmReportView(TempIccdPayFee tlog) : this()
 {
     try
     {
         this.Text = "临时卡缴费记录报表";
         crystalReportViewer1.ReportSource = tlog;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 3
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         if (dataGridView3.DataSource != null)
         {
             TempIccdPayFee report = new TempIccdPayFee();
             report.SetDataSource(dataGridView3.DataSource);
             new FrmReportView(report).ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }