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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            String         sql  = String.Format("select maSP, tenSP, soLuong, donGia, tongTien from vw_ctHD where maHD = '{0}'", _maHD);
            SqlConnection  scon = new SqlConnection(strCon);
            SqlDataAdapter sda  = new SqlDataAdapter(sql, strCon);
            DataTable      dt   = new DataTable();

            sda.Fill(dt);
            rptInHD rpt = new rptInHD();

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