Created
November 27, 2017 16:34
-
-
Save jofese/588a444735c0f12209a75c54d2894ee8 to your computer and use it in GitHub Desktop.
cargar 2 subreportes de crystal reports con dos dataset en c#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////Cargamos los datos en el reporte | |
ReportDocument objReporte = new ReportDocument();//crear un objeto de tipo Crystal Report | |
objReporte.Load(Application.StartupPath.ToString() + "\\Crystal Report\\HonorariosMedicos\\rptHMAmbGeneral.rpt"); | |
objReporte.Subreports[0].SetDataSource(listaSeguros); | |
objReporte.Subreports[1].SetDataSource(listaParticular); | |
objReporte.SetDataSource(listaCondiciones); | |
FrmReportes FormReportes = new FrmReportes(); | |
FormReportes.CrReportes.ReportSource = objReporte; | |
FormReportes.Show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment