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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            rptPulledOutEquipment rptPulledOutEquipment1 = new rptPulledOutEquipment();

            rptPulledOutEquipment1.SetParameterValue("pProcessedBy", AdminName);
            rptPulledOutEquipment1.SetParameterValue("pDateBorrowed", DateTime.Now);
            crystalReportViewer1.ReportSource = rptPulledOutEquipment1;
        }