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

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
 private void frmVendorReport_Load(object sender, EventArgs e)
 {
     rptVendor rv = new rptVendor();
     rv.Database.Tables[0].ApplyLogOnInfo(log);
     try
     {
         datasetRetailStore ds = new datasetRetailStore();
         ds.Vendor.Merge(d.dataVendorsCustomers("Vendor"));
         rv.Database.Tables[0].SetDataSource(ds);
         crvVendorReport.ReportSource = rv;
     }
     catch (OleDbException ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }
Ejemplo n.º 3
0
        private void frmVendorReport_Load(object sender, EventArgs e)
        {
            rptVendor rv = new rptVendor();

            rv.Database.Tables[0].ApplyLogOnInfo(log);
            try
            {
                datasetRetailStore ds = new datasetRetailStore();
                ds.Vendor.Merge(d.dataVendorsCustomers("Vendor"));
                rv.Database.Tables[0].SetDataSource(ds);
                crvVendorReport.ReportSource = rv;
            }
            catch (OleDbException ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }
Ejemplo n.º 4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptVendor rpt = new rptVendor();
     rpt.Site = this.Site;
     return rpt;
 }