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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void FormularioArticulos_Load(object sender, EventArgs e)
        {
            rptArticulos oCliente = new rptArticulos();

            oCliente.SetDataSource(ListaArticulos);

            crystalReportViewer.ReportSource = oCliente;
            crystalReportViewer.Refresh();
        }