private void FacturacrystalReportViewer_Load(object sender, EventArgs e) { FacturaReporte abrir = new FacturaReporte(); abrir.SetDataSource(datos); FacturacrystalReportViewer.ReportSource = abrir; FacturacrystalReportViewer.Refresh(); }
private void ReporteFacturaViewer_Load(object sender, EventArgs e) { FacturaReporte abrir = new FacturaReporte(); abrir.SetDataSource(datos); ReporteFacturaViewer.ReportSource = abrir; // ReporteFacturaViewer.SelectionFormula = "{View_Facturaciones}.Id=id"; {Facturaciones.ClienteId}=1 ReporteFacturaViewer.Refresh(); }