Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CategoryItems rpt = new CategoryItems();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
 //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);
     }
 }