private void VentanaReporteProducto_Load(object sender, EventArgs e) { ReporteProducto reporte = new ReporteProducto(); ProductoCrystalReportViewer.ReportSource = reporte; ProductoCrystalReportViewer.RefreshReport(); }
private void ProductoCrystalReportViewer_Load(object sender, EventArgs e) { Producto ver = new Producto(); ver.SetDataSource(productos); ProductoCrystalReportViewer.ReportSource = ver; ProductoCrystalReportViewer.Refresh(); }