示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport_Thanhvien rpt = new CrystalReport_Thanhvien();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void FrmReportThanhvien_Load(object sender, EventArgs e)
        {
            My_QLBTSClient bus = new My_QLBTSClient();
            //  bus.Xem_ThanhVien().Clear();


            CrystalReport_Thanhvien c = new CrystalReport_Thanhvien();

            c.SetDataSource(bus.Xem_ThanhVien());
            crystalReportViewer1.ReportSource = c;
        }