Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            BillVillaRpt rpt = new BillVillaRpt();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void billVillaWiseRptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                BillVillaWiseRpt frm1 = new BillVillaWiseRpt();
                BillVillaRpt     rp   = new BillVillaRpt();

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