public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            PBTrungTuyen rpt = new PBTrungTuyen();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void Frmphieubaotrungtuyen_Load(object sender, EventArgs e)
        {
            DataTable dta = new DataTable();

            dta = ketnoi.loadDuLieu("Select * from  ThongTin");
            PBTrungTuyen bc = new PBTrungTuyen();

            bc.SetDataSource(dta);
            crpphieubao.ReportSource = bc;
        }