Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FixIccdPayFee rpt = new FixIccdPayFee();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 public FrmReportView(FixIccdPayFee flog) : this()
 {
     try
     {
         this.Text = "定期/固定卡缴费记录报表";
         crystalReportViewer1.ReportSource = flog;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Example #3
0
 private void btnrpt_Click(object sender, EventArgs e)
 {
     try
     {
         if (dataGridView1.DataSource != null)
         {
             FixIccdPayFee report = new FixIccdPayFee();
             report.SetDataSource(dataGridView1.DataSource);
             new FrmReportView(report).ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }