Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptCurrencyList rpt = new rptCurrencyList();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #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);
        }
Пример #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;
        }
Пример #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     rptCurrencyList rpt = new rptCurrencyList();
     rpt.Site = this.Site;
     return rpt;
 }