protected void SetReportPregresso() { if (Session["ImportPreviousReport_ID"] != null) { string idReport = Session["ImportPreviousReport_ID"].ToString(); this.ReportSelezionato = ImportPreviousManager.GetReportPregressi(idReport); } }
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(); }
public DocsPaWR.FileDocumento GetFile() { DocsPaWR.InfoUtente infoUtente = new DocsPaWR.InfoUtente(); this.FileDocumento = ImportPreviousManager.ExportPregressiExcel(this.ReportSelezionato, infoUtente); return(this.FileDocumento); }
private bool importa(DocsPaWR.InfoUtente infoUtente, DocsPaWR.EsitoImportPregressi esitoImport, string descrizione) { ImportPreviousManager.AsyncImportPregresso(infoUtente, esitoImport, descrizione); return(true); }
public DocsPaWR.FileDocumento GetFile(List <DocsPaWR.ItemReportPregressi> repInErr) { this.FileDocumento = ImportPreviousManager.ExportReportExcel(repInErr); return(this.FileDocumento); }
protected DocsPaWR.EsitoImportPregressi SendRequest(byte[] fileToImport) { return(ImportPreviousManager.ImportPregresso(fileToImport)); }
protected void FetchData() { this.gridReport.DataSource = ImportPreviousManager.GetReports(); this.gridReport.PageIndex = 0; this.gridReport.DataBind(); }