예제 #1
0
        private void showReport()
        {
            ctrShipping cryRpt = new ctrShipping();

            cryRpt.SetDataSource(dtShipping());
            cryRpt.SetParameterValue("Company", DBConnString.sDb);
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Show();
        }
예제 #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     ctrShipping rpt = new ctrShipping();
     rpt.Site = this.Site;
     return rpt;
 }