Exemple #1
0
 protected void SetReportPregresso()
 {
     if (Session["ImportPreviousReport_ID"] != null)
     {
         string idReport = Session["ImportPreviousReport_ID"].ToString();
         this.ReportSelezionato = ImportPreviousManager.GetReportPregressi(idReport);
     }
 }
Exemple #2
0
        protected void DeleteReport(object sender, EventArgs e)
        {
            ImageButton image  = (ImageButton)sender;
            TableCell   cell   = (TableCell)image.Parent;
            GridViewRow dgItem = (GridViewRow)cell.Parent;
            Label       a      = (Label)dgItem.FindControl("SYSTEM_ID");

            ImportPreviousManager.DeleteReportById(a.Text);
            this.FetchData();
            this.upPanelReport.Update();
        }
Exemple #3
0
 public DocsPaWR.FileDocumento GetFile()
 {
     DocsPaWR.InfoUtente infoUtente = new DocsPaWR.InfoUtente();
     this.FileDocumento = ImportPreviousManager.ExportPregressiExcel(this.ReportSelezionato, infoUtente);
     return(this.FileDocumento);
 }
Exemple #4
0
 private bool importa(DocsPaWR.InfoUtente infoUtente, DocsPaWR.EsitoImportPregressi esitoImport, string descrizione)
 {
     ImportPreviousManager.AsyncImportPregresso(infoUtente, esitoImport, descrizione);
     return(true);
 }
Exemple #5
0
 public DocsPaWR.FileDocumento GetFile(List <DocsPaWR.ItemReportPregressi> repInErr)
 {
     this.FileDocumento = ImportPreviousManager.ExportReportExcel(repInErr);
     return(this.FileDocumento);
 }
Exemple #6
0
 protected DocsPaWR.EsitoImportPregressi SendRequest(byte[] fileToImport)
 {
     return(ImportPreviousManager.ImportPregresso(fileToImport));
 }
Exemple #7
0
 protected void FetchData()
 {
     this.gridReport.DataSource = ImportPreviousManager.GetReports();
     this.gridReport.PageIndex  = 0;
     this.gridReport.DataBind();
 }