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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void runningBillsRptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                RunningBillRpt frm1 = new RunningBillRpt();
                RunningRpt     rp   = new RunningRpt();

                frm1.RD       = rp;
                frm1.strQuery = "select * from tbl_bill";
                frm1.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }