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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void billContractWiseRptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                BillContractWiseRpt frm1 = new BillContractWiseRpt();
                BillContractRpt     rp   = new BillContractRpt();

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