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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void frmPRT_Load(object sender, EventArgs e)
        {
            string    sql = "select * from HANGHOA";
            DataTable dt  = Execute.LayDuLieuBang(sql);


            rptHH rpt = new rptHH();

            rpt.SetDataSource(dt);

            crystalReportViewer1.ReportSource = rpt;
        }