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

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void CrystalReportViewer1_Load(object sender, EventArgs e)
        {
            ClientesCrystalReports us = new ClientesCrystalReports();

            us.SetDataSource(ListarCliente);

            crystalReportViewer1.ReportSource = us;
            crystalReportViewer1.Refresh();
        }