public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CategoryItems rpt = new CategoryItems(); rpt.Site = this.Site; return(rpt); }
//C. Using crystal reports to create reports with: //2. Parameters with different data types private void CategoriesReport_Load(object sender, EventArgs e) { cr = new CategoryItems(); foreach (ParameterDiscreteValue p in cr.ParameterFields[0].DefaultValues) { cbx_CatNmaeRepo.Items.Add(p.Value); } }