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

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        public static ReportDocument LoadVendorList()
        {
            ReportDocument rpt = new Master.rptVendorList();
            dsReports      ds  = new dsReports();

            ds.EnforceConstraints = false;

            CompaniesTableAdapter ta = new CompaniesTableAdapter();

            ta.ClearBeforeFill = true;
            ta.Connection      = AppHelper.GetDbConnection();
            ta.FillVendor(ds.Companies);

            RetrieveDeveloper(ds.Developer);
            RetrieveOwner(ds.Owner);
            rpt.SetDataSource(ds);
            return(rpt);
        }
Esempio n. 3
0
        public static ReportDocument LoadVendorList()
        {
            ReportDocument rpt = new Master.rptVendorList();
            dsReports ds = new dsReports();
            ds.EnforceConstraints = false;

            CompaniesTableAdapter ta = new CompaniesTableAdapter();
            ta.ClearBeforeFill = true;
            ta.Connection = AppHelper.GetDbConnection();
            ta.FillVendor(ds.Companies);

            RetrieveDeveloper(ds.Developer);
            RetrieveOwner(ds.Owner);
            rpt.SetDataSource(ds);
            return rpt;
        }
Esempio n. 4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     rptVendorList rpt = new rptVendorList();
     rpt.Site = this.Site;
     return rpt;
 }