Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            HOADONDICHVU rpt = new HOADONDICHVU();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            HOADONDICHVU d = new HOADONDICHVU();

            crystalReportViewer1.ReportSource     = d;
            crystalReportViewer1.DisplayStatusBar = false;
            crystalReportViewer1.DisplayToolbar   = true;
            crystalReportViewer1.Refresh();
        }