コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            DSHS rpt = new DSHS();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        private void FrmDS_Load(object sender, EventArgs e)
        {
            DataTable dta = new DataTable();

            dta = ketnoi.loadDuLieu("SELECT * FROM DSHS");
            DSHS baocao = new DSHS();

            baocao.SetDataSource(dta);
            CRV.ReportSource = baocao;
        }