Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptCurrencyList rpt = new rptCurrencyList();

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