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

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        private void PhieuKho_GUI_Load(object sender, EventArgs e)
        {
            DataTable dt  = new DataTable();
            RpKho     Kho = new RpKho();

            dt = sp_BUS.Display(sql);

            Kho.SetDataSource(dt);
            crystalReportViewer1.ReportSource = Kho;
            crystalReportViewer1.Refresh();
        }