コード例 #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            ControladorEmpleado CEmpleado           = new ControladorEmpleado();
            List <ModelIngresoEgresoEmpleado> lista = null;

            lista = CEmpleado.TraerEntradaSalidaReporte();

            ReportDataSource dt  = new ReportDataSource("DataSet1", lista);
            string           dir = "ProjectGimnasiaYEsgrima.Utils.EntradaSalidaEmpleado.rdlc";

            new InterfazGenerarReporte(dt, dir).ShowDialog();
        }