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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void ShowNhap(int ma)
        {
            DataSet   ds = new DataSet();
            DataTable dt = trpt.SetData(ma);

            ds.Tables.Add(dt);
            rptHDNhap rpt = new rptHDNhap();

            rpt.SetDataSource(ds.Tables[0]);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
        }
 private void ShowNhap(int ma)
 {
     DataSet ds = new DataSet();
     DataTable dt = trpt.SetData(ma);
     ds.Tables.Add(dt);
     rptHDNhap rpt = new rptHDNhap();
     rpt.SetDataSource(ds.Tables[0]);
     crystalReportViewer1.ReportSource = rpt;
     crystalReportViewer1.Refresh();
 }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptHDNhap rpt = new rptHDNhap();
     rpt.Site = this.Site;
     return rpt;
 }