private void frmEmployee_Load(object sender, EventArgs e)
        {
            crEmployee employee = new crEmployee();

            employee.SetParameterValue("Date", DateTime.Now);
            crystalReportViewer.ReportSource = employee;
        }
Example #2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crEmployee rpt = new crEmployee();

            rpt.Site = this.Site;
            return(rpt);
        }