Generación de Reportes RDLC con Multiples Dataset.

Generación de Reportes RDLC con Múltiples Dataset.

1. Agregar un Dataset Tipado al Proyecto.

2. Agregue los Data table Necesarios por cada Consulta a Realizar. 

Agregar las columnas a los data table con los mismos nombres como aparecen en el origen de datos.
3. Agregar un Archivo de tipo Informe RDLC

4. Agregamos el Conjunto de Datos al Informe. Desde la ventana Datos de Informe. (menú Ver –> datos de informe).

5. Elegimos el Conjunto de datos. Origen de datos escogemos el dataset (DataSet1) que agregamos y el primer dataTable (DataTable1).

6. Agregamos el Siguiente Conjunto de Datos de Nuestro Siguiente DataTable. Se abrirá la ventana anterior, debemos escoger el otro dataTable (DataTable2).

7. Agregar las Tablas al Informe. Y debemos arrastrar los campos respectivos a su respectiva tabla.

8. Agregar un ReportViewer y un ScriptManager al WebFom.

9. Llenar el Informe con Datos de la Base de Datos. Los namespace que deben importarse:

Código para el evento Load:

Métodos que llenan los respectivos dataset:

Informe generado en el explorador:

Agradecimiento a mi amigo Richard Rivera con quien hice este tutorial.

8 thoughts on “Generación de Reportes RDLC con Multiples Dataset.

  1. Aw, this was a very nice post. In idea I wish to put in writing like this moreover ?taking time and precise effort to make a very good article?but what can I say?I procrastinate alot and in no way seem to get one thing done.

    1. It’s quite something like me. I start to write a post after I find a solution to anything I’m stuck with and after hours and hours searching in blogs, StackOverflow, and wherever. This way when I have the same problem in the future I just need to search back on my own blog.

  2. I抎 must test with you here. Which isn’t one thing I normally do! I take pleasure in studying a submit that will make individuals think. Additionally, thanks for permitting me to comment!

Leave a Reply