예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rpInHoaDon rpt = new rpInHoaDon();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        private void btnIn_Click(object sender, EventArgs e)
        {
            DataTable  dt = cthdbll.CTHD_select_theoban_ckt(maban);
            rpInHoaDon rp = new rpInHoaDon();

            rp.SetDataSource(dt);
            Formrpinhoadon frmInhd = new Formrpinhoadon();

            frmInhd.crystalReportViewer1.ReportSource = rp;
            frmInhd.ShowDialog();
        }