Example #1
0
        private void MycrystalReportViewer1_Load(object sender, EventArgs e)
        {
            EditorialRP report = new EditorialRP();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }
Example #2
0
        public EditorialR(List <Editorial> editorials)
        {
            this.reporte = editorials;
            InitializeComponent();
            EditorialRP report = new EditorialRP();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }