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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void جردالمخازنToolStripMenuItem_Click(object sender, EventArgs e)
        {
            reports frm = new reports();
            allStoresNoWatermark rpt = new allStoresNoWatermark();

            //MvtRpt rpt2 = new MvtRpt();
            //rpt2.SetDataSource(db.mvtReport(2));
            // Set datasource first
            //rpt2.SetParameterValue("@id", movement_header.id);
            frm.crystalReportViewer1.ReportSource = rpt;
            frm.ShowDialog();
        }