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

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
 private void frmWarehouseReport_Load(object sender, EventArgs e)
 {
     rptWarehouse rw = new rptWarehouse();
     rw.Database.Tables[0].ApplyLogOnInfo(log);
     try
     {
         datasetRetailStore ds = new datasetRetailStore();
         ds.Warehouse.Merge(d.dataWarehouse());
         rw.Database.Tables[0].SetDataSource(ds);
         crvWarehouseReport.ReportSource = rw;
     }
     catch (OleDbException ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }
Ejemplo n.º 3
0
        private void frmWarehouseReport_Load(object sender, EventArgs e)
        {
            rptWarehouse rw = new rptWarehouse();

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