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