public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Outstanding_Del_Report rpt = new Outstanding_Del_Report();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void frmOutstDelrpt_Load(object sender, EventArgs e)
        {
            Outstanding_Del_Report cb = new Outstanding_Del_Report();

            cb.SetParameterValue("Status", status.ToArray());
            cb.SetParameterValue("Orderid", ID.ToArray());
            cb.SetParameterValue("date1", date1);
            cb.SetParameterValue("date2", date2);
            crystalReportViewer1.ReportSource = cb;
            crystalReportViewer1.Refresh();
        }