private void MycrystalReportViewer1_Load(object sender, EventArgs e) { RPCategorias report = new RPCategorias(); report.SetDataSource(reporte); MycrystalReportViewer1.ReportSource = report; MycrystalReportViewer1.Refresh(); }
public CategoriaR(List <Categoria> categorias) { this.reporte = categorias; InitializeComponent(); RPCategorias report = new RPCategorias(); report.SetDataSource(reporte); MycrystalReportViewer1.ReportSource = report; MycrystalReportViewer1.Refresh(); }