diff --git a/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx b/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx
deleted file mode 100644
index 449536bc..00000000
--- a/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx
+++ /dev/null
@@ -1,53 +0,0 @@
-<%@ Control Language="C#" AutoEventWireup="true"
- Inherits="MoonPro_site.WebUserControls.mod_caricaOperatoriCSV" Codebehind="mod_caricaOperatoriCSV.ascx.cs" %>
-
- Aggiornamento dati Operatori
-
-
-
-
-
-
- |
- Selezionare il file da caricare:
- |
-
-
- |
-
- |
-
-
- |
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
-
- |
-
-
- Password di autorizzazione:
-
- |
-
-
diff --git a/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx.cs b/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx.cs
deleted file mode 100644
index 464550a7..00000000
--- a/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-using MapoDb;
-using SteamWare;
-using System;
-using System.Configuration;
-using System.Data;
-
-namespace MoonPro_site.WebUserControls
-{
- public partial class mod_caricaOperatoriCSV : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- checkAuth();
- }
-
- private void checkAuth()
- {
- // se in session è auth alora mostro pannello caricamento..
- if (Convert.ToBoolean(Session["isAuthUpdForced"]))
- {
- pnlUpload.Visible = true;
- pnlPasswd.Visible = false;
- }
- else
- {
- pnlUpload.Visible = false;
- pnlPasswd.Visible = true;
- }
- }
- protected void Button1_Click(object sender, EventArgs e)
- {
- // controllo se c'è il file
- if (FileUpload1.HasFile)
- {
- // salvo file in locale...
- string _dirPath = System.Web.HttpContext.Current.Server.MapPath("./upload/");
- string _logPath = System.Web.HttpContext.Current.Server.MapPath("./logs/");
- FileUpload1.PostedFile.SaveAs(string.Format("{0}importOpr.csv", _dirPath));
- // leggo il file locale in una tabella
- fileMover fm = new fileMover(_dirPath, _dirPath);
- DataTable tabIn = CsvParser.Parse(fm.scaricaFileString("importOpr.csv"), CheckBox1.Checked);
- // svuoto vecchia tab inserting...
- DataLayer.obj.taOp2ins.DeleteAll();
- int _errori = 0;
- logger lg = new logger(_logPath);
- foreach (DataRow riga in tabIn.Rows)
- {
- try
- {
- DataLayer.obj.taOp2ins.Insert(Convert.ToInt32(riga[0]), riga[1].ToString(), riga[2].ToString());
- }
- catch
- {
- _errori++;
- lg.scriviLog(string.Format("Importazione dati operatore: errore nell'inserimento dell'operatore con matricola {0}", riga[0]));
- }
- }
- DataLayer.obj.taOp2ins.UpdateOperatori();
- lblWarning.Text = "Dati operatore caricati!";
- if (_errori > 0) lblWarning.Text = lblWarning.Text + string.Format(" - riscontrati {0} errori, vedere log!", _errori);
- }
- else
- {
- lblWarning.Text = "Indicare il file da caricare!";
- }
- }
- protected void txtPwd_TextChanged(object sender, EventArgs e)
- {
- string _pwdOk = ConfigurationManager.AppSettings.Get("_pdwUpdateForzato");
- // verifico la password ed eventualmente mostro pannello caricamento..
- if (txtPwd.Text != "" && txtPwd.Text == _pwdOk)
- {
- Session["isAuthUpdForced"] = true;
- checkAuth();
- }
- else
- {
- Session["isAuthUpdForced"] = false;
- checkAuth();
- }
- }
-
- }
-}
\ No newline at end of file
diff --git a/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx.designer.cs b/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx.designer.cs
deleted file mode 100644
index cd4cb5e5..00000000
--- a/MP-Admin/WebUserControls/mod_caricaOperatoriCSV.ascx.designer.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MoonPro_site.WebUserControls
-{
-
-
- public partial class mod_caricaOperatoriCSV {
-
- ///
- /// pnlUpload control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlUpload;
-
- ///
- /// FileUpload1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.FileUpload FileUpload1;
-
- ///
- /// CheckBox1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.CheckBox CheckBox1;
-
- ///
- /// Button1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Button Button1;
-
- ///
- /// lblWarning control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblWarning;
-
- ///
- /// GridView1 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.GridView GridView1;
-
- ///
- /// GridView2 control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.GridView GridView2;
-
- ///
- /// pnlPasswd control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Panel pnlPasswd;
-
- ///
- /// txtPwd control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtPwd;
- }
-}
diff --git a/MP-Admin/caricaUpdateOperatori.aspx b/MP-Admin/caricaUpdateOperatori.aspx
deleted file mode 100644
index 3abd80bd..00000000
--- a/MP-Admin/caricaUpdateOperatori.aspx
+++ /dev/null
@@ -1,7 +0,0 @@
-<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MoonPro_noAjax.master" AutoEventWireup="true" Inherits="caricaUpdateOperatori" Codebehind="caricaUpdateOperatori.aspx.cs" %>
-
-<%@ Register Src="~/WebUserControls/mod_caricaOperatoriCSV.ascx" TagName="mod_caricaOperatoriCSV" TagPrefix="uc1" %>
-
-
-
-
diff --git a/MP-Admin/caricaUpdateOperatori.aspx.cs b/MP-Admin/caricaUpdateOperatori.aspx.cs
deleted file mode 100644
index 6ba50588..00000000
--- a/MP-Admin/caricaUpdateOperatori.aspx.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-
-public partial class caricaUpdateOperatori : System.Web.UI.Page
-{
- protected void Page_Load(object sender, EventArgs e)
- {
-
- }
-}
diff --git a/MP-Admin/caricaUpdateOperatori.aspx.designer.cs b/MP-Admin/caricaUpdateOperatori.aspx.designer.cs
deleted file mode 100644
index d5dbd1a7..00000000
--- a/MP-Admin/caricaUpdateOperatori.aspx.designer.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Codice generato da uno strumento.
-//
-// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
-// il codice viene rigenerato.
-//
-//------------------------------------------------------------------------------
-
-
-
-public partial class caricaUpdateOperatori {
-
- ///
- /// Controllo Mod_caricaOperatoriCSV1.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::MoonPro_site.WebUserControls.mod_caricaOperatoriCSV Mod_caricaOperatoriCSV1;
-}