private void btnRange_Click(object sender, EventArgs e) { allEmployeesReportBySalary rpt = new allEmployeesReportBySalary(); crystalReportViewer1.ReportSource = rpt; crystalReportViewer1.Refresh(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { allEmployeesReportBySalary rpt = new allEmployeesReportBySalary(); rpt.Site = this.Site; return(rpt); }