rinozione files inutili e pulizia (non serve update)
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -3678,6 +3678,11 @@
|
||||
init dei table adapters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.memLayer.connStringDbConf">
|
||||
<summary>
|
||||
stringa conn x DB CONF
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.memLayer.setupConnectionStringBase">
|
||||
<summary>
|
||||
effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -3685,7 +3690,7 @@
|
||||
</member>
|
||||
<member name="F:SteamWare.memLayer.AppConf">
|
||||
<summary>
|
||||
oggetto STATIC organizzato come dizionario con chiave / valore x configurazioni applicazione
|
||||
oggetto dizionario con chiave / valore x configurazioni applicazione
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.memLayer.resetAppConf">
|
||||
@@ -5209,7 +5214,6 @@
|
||||
<param name="_mailTo">email destinatario</param>
|
||||
<param name="_oggetto">oggetto dell'email</param>
|
||||
<param name="_corpo">corpo del messaggio</param>
|
||||
<param name="_allegati">allegati del messaggio</param>
|
||||
</member>
|
||||
<member name="M:SteamWare.gestEmail.mandaEmail(System.String,System.String,System.String,System.String,System.Net.Mail.AlternateView[])">
|
||||
<summary>
|
||||
|
||||
Binary file not shown.
@@ -1,21 +0,0 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fileUploader.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_fileUploader" %>
|
||||
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="conditional">
|
||||
<Triggers>
|
||||
<asp:PostBackTrigger ControlID="btnUpload" />
|
||||
</Triggers>
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<asp:FileUpload ID="FileUploadControl" runat="server" />
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" CssClass="btn btn-default btn-sm" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 didascalia">
|
||||
<asp:Label runat="server" ID="StatusLabel" />
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
@@ -1,88 +0,0 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace CMS_SC.WebUserControls
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public partial class mod_fileUploader : SteamWare.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// effettuato upload file!
|
||||
/// </summary>
|
||||
public event EventHandler eh_uploadDone;
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Page.Form.Enctype = "multipart/form-data";
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
StatusLabel.Text = "";
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// caricamento file!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUpload_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FileUploadControl.HasFile)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (FileUploadControl.PostedFile.ContentType == contTypeFilt && contTypeFilt != "")
|
||||
{
|
||||
//if (FileUploadControl.PostedFile.ContentLength < 102400000)
|
||||
//{
|
||||
//string filename = Path.GetFileName(FileUploadControl.FileName);
|
||||
//FileUploadControl.SaveAs(Server.MapPath("~/") + filename);
|
||||
|
||||
if (fileName == "")
|
||||
{
|
||||
fileName = FileUploadControl.FileName;
|
||||
}
|
||||
string fileDest = string.Format(@"{0}\{1}", memLayer.ML.confReadString("importDataFolder"), fileName);
|
||||
FileUploadControl.SaveAs(fileDest);
|
||||
|
||||
StatusLabel.Text = string.Format("Upload status: File uploaded! - size: {0} kb", FileUploadControl.PostedFile.ContentLength / 1024);
|
||||
if (eh_uploadDone != null)
|
||||
{
|
||||
eh_uploadDone(this, new EventArgs());
|
||||
}
|
||||
//}
|
||||
//else
|
||||
// StatusLabel.Text = "Upload status: The file has to be less than 100 Mb!";
|
||||
}
|
||||
else
|
||||
{
|
||||
StatusLabel.Text = string.Format("{0} - {1}", traduci("ERR-FU-002"), contTypeFilt);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
StatusLabel.Text = string.Format("{0} {1}", traduci("ERR-FU-001"), ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// content type permesso
|
||||
/// </summary>
|
||||
public string contTypeFilt { get; set; }
|
||||
/// <summary>
|
||||
/// nome file con cui salvare
|
||||
/// </summary>
|
||||
public string fileName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_fileUploader {
|
||||
|
||||
/// <summary>
|
||||
/// UpdatePanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
|
||||
|
||||
/// <summary>
|
||||
/// FileUploadControl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FileUpload FileUploadControl;
|
||||
|
||||
/// <summary>
|
||||
/// btnUpload control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnUpload;
|
||||
|
||||
/// <summary>
|
||||
/// StatusLabel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label StatusLabel;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3678,6 +3678,11 @@
|
||||
init dei table adapters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.memLayer.connStringDbConf">
|
||||
<summary>
|
||||
stringa conn x DB CONF
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.memLayer.setupConnectionStringBase">
|
||||
<summary>
|
||||
effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -3685,7 +3690,7 @@
|
||||
</member>
|
||||
<member name="F:SteamWare.memLayer.AppConf">
|
||||
<summary>
|
||||
oggetto STATIC organizzato come dizionario con chiave / valore x configurazioni applicazione
|
||||
oggetto dizionario con chiave / valore x configurazioni applicazione
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.memLayer.resetAppConf">
|
||||
@@ -5209,7 +5214,6 @@
|
||||
<param name="_mailTo">email destinatario</param>
|
||||
<param name="_oggetto">oggetto dell'email</param>
|
||||
<param name="_corpo">corpo del messaggio</param>
|
||||
<param name="_allegati">allegati del messaggio</param>
|
||||
</member>
|
||||
<member name="M:SteamWare.gestEmail.mandaEmail(System.String,System.String,System.String,System.String,System.Net.Mail.AlternateView[])">
|
||||
<summary>
|
||||
|
||||
Reference in New Issue
Block a user