public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { EmpReport rpt = new EmpReport(); rpt.Site = this.Site; return(rpt); }
private void ReportForm_Load(object sender, EventArgs e) { er = new EmpReport(); foreach (ParameterDiscreteValue v in er.ParameterFields[0].DefaultValues) { DepName.Items.Add(v.Value); } }