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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        private void Report_tblHanghoa_Load(object sender, EventArgs e)
        {
            DataTable t = new DataTable();

            t = new XuLy_tblHanghoa().LayToanbo();
            CrystalReport_tblHanghoa rp = new CrystalReport_tblHanghoa();

            rp.SetDataSource(t);
            crystalReportViewer_tblHanghoa.ReportSource = rp;
        }