27 lines
806 B
C#
27 lines
806 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using System.IO;
|
|
using NLog;
|
|
using ETS_Data;
|
|
|
|
namespace ETS_WS
|
|
{
|
|
public partial class test : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
mod_singleFileUpload1.tempArea = WebShipUtils.mng.UserTempPath;
|
|
mod_singleFileUpload1.eh_fileUploaded += new EventHandler(mod_singleFileUpload1_eh_fileUploaded);
|
|
lblTest.Text = utils.shrinkString("0123456789", 9);
|
|
}
|
|
|
|
void mod_singleFileUpload1_eh_fileUploaded(object sender, EventArgs e)
|
|
{
|
|
lblOut.Text = string.Format("file Caricato! nome: {0}", mod_singleFileUpload1.newFileName);
|
|
}
|
|
}
|
|
} |