public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { RTeam rpt = new RTeam(); rpt.Site = this.Site; return(rpt); }
override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer. // //InitializeComponent(); base.OnInit(e); if (Request["All"] == "0") { s = "Отчет по бригадам с " + Request["start"] + " по " + Request["end"]; } else { s = "Отчет по бригадам за все время"; } r = new RTeam(); }