private void LoadEstudios() { this.estudios = Estudio.GetAll(); LoaddvgEstudios(); LoadcmbEstudios(); }
private void frmReporteEstudios_Load(object sender, EventArgs e) { this.reportViewer2.LocalReport.DataSources.Clear(); var rptDataSource = new Microsoft.Reporting.WinForms.ReportDataSource("Estudios", Estudio.GetAll()); this.reportViewer2.LocalReport.DataSources.Add(rptDataSource); this.reportViewer2.RefreshReport(); }