protected void genReport()
        {
            DataTable dttEvents = new DataTable();
            eventsdetectionBus oEvents = new eventsdetectionBus();
            int idsId = Convert.ToInt32(ddlIDPS.SelectedValue);

            dttEvents = oEvents.eventsdetectionGetAllByIDPSId(idsId);

            rpvEvents.LocalReport.DataSources.Clear();
            rpvEvents.LocalReport.DataSources.Add(new ReportDataSource("dtsEventsDetection", dttEvents));
            rpvEvents.Enabled = true;
            rpvEvents.LocalReport.Refresh();
        }