public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptCustomerList rpt = new rptCustomerList(); rpt.Site = this.Site; return(rpt); }
public static ReportDocument LoadCustomerList() { ReportDocument rpt = new Master.rptCustomerList(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; CompaniesTableAdapter ta = new CompaniesTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.FillCustomer(ds.Companies); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return(rpt); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptCustomerList rpt = new rptCustomerList(); rpt.Site = this.Site; return rpt; }
public static ReportDocument LoadCustomerList() { ReportDocument rpt = new Master.rptCustomerList(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; CompaniesTableAdapter ta = new CompaniesTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.FillCustomer(ds.Companies); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return rpt; }