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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void Form_rpDDHChuaCoPhieuNhap_Load(object sender, EventArgs e)
        {
            DataTable dt      = new DataTable();
            String    strLenh = "EXEC SP_RP_InDSDDHChuaCoPhieuNhap";

            dt = Program.ExecSqlQuery(strLenh);
            rp_DSDDHChuaCoPhieuNhap rp = new rp_DSDDHChuaCoPhieuNhap();

            rp.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rp;
        }