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

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

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