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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        public Window1()
        {
            InitializeComponent();
            reportViewer.Owner = this;

            CrystalReportInformeClientes informe = new CrystalReportInformeClientes();

            informe.SetDatabaseLogon("tema6servidorluis", "asdecu@dor77");
            reportViewer.ViewerCore.ReportSource = informe;
        }