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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo 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);
        }
Exemplo 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;
        }
Exemplo n.º 4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     rptVendorList rpt = new rptVendorList();
     rpt.Site = this.Site;
     return rpt;
 }