public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptCurrencyList rpt = new rptCurrencyList(); rpt.Site = this.Site; return(rpt); }
public static ReportDocument LoadCurrencyList() { ReportDocument rpt = new Master.rptCurrencyList(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; CurrenciesTableAdapter ta = new CurrenciesTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.Fill(ds.Currencies); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return(rpt); }
public static ReportDocument LoadCurrencyList() { ReportDocument rpt = new Master.rptCurrencyList(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; CurrenciesTableAdapter ta = new CurrenciesTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.Fill(ds.Currencies); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return rpt; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptCurrencyList rpt = new rptCurrencyList(); rpt.Site = this.Site; return rpt; }