diff --git a/DataUploader/DataUploader.csproj b/DataUploader/DataUploader.csproj new file mode 100644 index 0000000..4c51ca4 --- /dev/null +++ b/DataUploader/DataUploader.csproj @@ -0,0 +1,138 @@ + + + + + Debug + AnyCPU + + + 2.0 + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + DataUploader + DataUploader + v4.5 + true + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default.aspx + ASPXCodeBehind + + + Default.aspx + + + DemoPage.aspx + ASPXCodeBehind + + + DemoPage.aspx + + + FullSync.aspx + ASPXCodeBehind + + + FullSync.aspx + + + + + SyncDoc.aspx + ASPXCodeBehind + + + SyncDoc.aspx + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 0 + / + http://localhost:52172/ + False + False + + + False + + + + + + \ No newline at end of file diff --git a/DataUploader/DataUploader.csproj.user b/DataUploader/DataUploader.csproj.user new file mode 100644 index 0000000..dedb3c9 --- /dev/null +++ b/DataUploader/DataUploader.csproj.user @@ -0,0 +1,28 @@ + + + + + + + + + CurrentPage + True + False + False + False + + + + + + + + + False + True + + + + + \ No newline at end of file diff --git a/DataUploader/Default.aspx b/DataUploader/Default.aspx new file mode 100644 index 0000000..0a2a03c --- /dev/null +++ b/DataUploader/Default.aspx @@ -0,0 +1,31 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DataUploader.Default" %> + + + + + + + + +
+
+

WebSCR DataUploader

+ Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware +
+
+ Per effettuare test utilizzare la Demo Page +
+ Per l'uso in produzione / continuativo vanno richiamate + + NB: tutte le configurazioni sono tutte contenute le file web.config + NB: il demo punta a db access di esempio e non a DB2 +
+ @2015-<%: DateTime.Now.Year %> Steamware +
+
+
+ + diff --git a/DataUploader/Default.aspx.cs b/DataUploader/Default.aspx.cs new file mode 100644 index 0000000..befeac2 --- /dev/null +++ b/DataUploader/Default.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace DataUploader +{ + public partial class Default : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/DataUploader/Default.aspx.designer.cs b/DataUploader/Default.aspx.designer.cs new file mode 100644 index 0000000..225b0c9 --- /dev/null +++ b/DataUploader/Default.aspx.designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DataUploader +{ + + + public partial class Default + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/DataUploader/DemoPage.aspx b/DataUploader/DemoPage.aspx new file mode 100644 index 0000000..b938c9b --- /dev/null +++ b/DataUploader/DemoPage.aspx @@ -0,0 +1,47 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DemoPage.aspx.cs" Inherits="DataUploader.DemoPage" %> + + + + + + + + +
+
+

DemoPage

+ In questa pagina è riassunt la logica di chiamata delle altre pagine ed il funzionamento. +
+
+
+

FullSync

+ Questa è la pagina da chiamare periodicamente (esecuzione automatica?) in modo da effettuare il sync periodico dei dati da sigla ad online. +
+ Il ciclo prevede i seguenti step: + + il tutto viene fatto tramite la classe helper GestData +
+ Demo: FullSync.aspx +
+
+
+

SyncDoc

+ Questa è la pagina da chiamare SU RICHIESTA UTENTE in modo da effettuare il sync PUNTUALE dei dati da sigla ad online per uno specifico documento. +
+ Il ciclo prevede i seguenti step: + + il tutto viene fatto tramite la classe helper GestData +
+ Demo: SyncDoc.aspx?DOC=OC0001616 +
+
+ + diff --git a/DataUploader/DemoPage.aspx.cs b/DataUploader/DemoPage.aspx.cs new file mode 100644 index 0000000..3c71b78 --- /dev/null +++ b/DataUploader/DemoPage.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace DataUploader +{ + public partial class DemoPage : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/DataUploader/DemoPage.aspx.designer.cs b/DataUploader/DemoPage.aspx.designer.cs new file mode 100644 index 0000000..79acf56 --- /dev/null +++ b/DataUploader/DemoPage.aspx.designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DataUploader +{ + + + public partial class DemoPage + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/DataUploader/FullSync.aspx b/DataUploader/FullSync.aspx new file mode 100644 index 0000000..c8f0b2c --- /dev/null +++ b/DataUploader/FullSync.aspx @@ -0,0 +1,24 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FullSync.aspx.cs" Inherits="DataUploader.FullSync" %> + + + + + + + + +
+
+

FullSync

+ Modalità chiamata: + +
+

OUTPUT

+ +
+
+ + diff --git a/DataUploader/FullSync.aspx.cs b/DataUploader/FullSync.aspx.cs new file mode 100644 index 0000000..acee327 --- /dev/null +++ b/DataUploader/FullSync.aspx.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Linq; +using System.Net; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace DataUploader +{ + public partial class FullSync : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // verifico se vado in modalità demo o meno... + bool demoMode = false; + try + { + demoMode = Convert.ToBoolean(Request.QueryString["DemoMode"]); + } + catch + { } + // recupero ultimo numero doc caricato... + int lastNum = 0; + try + { + var client = new WebClient(); + var content = client.DownloadString(ConfigurationManager.AppSettings["remoteDocUrl"]); // http://webscr.steamware.net/Rigamonti/Upload/Document + // converto a int! + lastNum = Convert.ToInt32(content); + } + catch + { } + // recupero i dati da caricare... + string[] urlsUpdate = GestData.proc.getNewDocsUrls(lastNum); + if (demoMode) + { + lblOut.Text = string.Format("DEMO MODE!
ultimo NUMERO: {0}", lastNum); + for (int i = 0; i < urlsUpdate.Length; i++) + { + lblOut.Text += string.Format("
{0:000}) {1}", i + 1, urlsUpdate[i]); + } + } + else + { + lblOut.Text = string.Format("Normal MODE!
{0}", lastNum); + var client = new WebClient(); + for (int i = 0; i < urlsUpdate.Length; i++) + { + try + { + var content = client.DownloadString(urlsUpdate[i]); + } + catch + { } + } + } + } + } +} \ No newline at end of file diff --git a/DataUploader/FullSync.aspx.designer.cs b/DataUploader/FullSync.aspx.designer.cs new file mode 100644 index 0000000..93d9e4d --- /dev/null +++ b/DataUploader/FullSync.aspx.designer.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DataUploader { + + + public partial class FullSync { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// lblOut control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblOut; + } +} diff --git a/DataUploader/GestData.cs b/DataUploader/GestData.cs new file mode 100644 index 0000000..f13a222 --- /dev/null +++ b/DataUploader/GestData.cs @@ -0,0 +1,108 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Configuration; + +namespace DataUploader +{ + public class GestData + { + protected GestData() + { + setupConnString(); + } + /// + /// configurazione stringa connesisone dati + /// + private void setupConnString() + { + + } + + public static GestData proc = new GestData(); + + /// + /// restituisce un array di stringhe URL da chiamare per caricare i dati documento / cliente + /// + /// numero ultimo doc caricato (restituirà docs successivi) + /// + public string[] getNewDocsUrls(int numeroFrom) + { + int maxDocsToUpload = Convert.ToInt32(ConfigurationManager.AppSettings["maxDocsToUpload"]); + string[] answ = new string[maxDocsToUpload * 2]; // 2 stringhe, una x doc e 1 x cliente x ogni invio... + //int i = 0; + // effettuo chiamata ODBC e recupero dati + + // per ogni record trovato compongo un record DOCS ed uno CLI + + string[] rDoc = new string[19]; + string[] rCli = new string[11]; + for (int i = 0; i < 19; i++) + { + rDoc[i] = ""; + } + for (int i = 0; i < 11; i++) + { + rCli[i] = ""; + } + // formatto answ... + answ[0] = createUrlDoc(rDoc); + answ[1] = createUrlCli(rCli); + + return answ; + } + /// + /// restituisce un array di stringhe URL da chiamare per caricare i dati documento / cliente + /// + /// Codice docuemnto richiesto + /// + public string[] getDocsUrls(string CodDoc) + { + string[] answ = new string[2]; // 2 stringhe, una x doc e 1 x cliente x ogni invio... + // effettuo chaimata ODBC e recupero dati + + // per ogni record trovato compongo un record DOCS ed uno CLI + string[] rDoc = new string[19]; + string[] rCli = new string[11]; + + // formatto answ... + answ[0] = createUrlDoc(rDoc); + answ[1] = createUrlCli(rCli); + + return answ; + } + /// + /// crea url formattato x upload DOC + /// + /// + /// + protected string createUrlDoc(string[] rDoc) + { + string answ = ""; + try + { + answ = string.Format(@"{0}?TIPOPROTOC={1}&NUMERO={2}&ESERPROTOC={3}&NUMEPROTOC={4}&DATAPROTOC={5}&ESERRIFERI={6}&NUMERIFERI={7}&TIPORIFERI={8}&DATARIFERI={9}&NUMEDOCRIF={10}&DATADOCRIF={11}&ESERCOLLEG={12}&CLI_FOR={13}&DESTINATAR={14}&RGSOC_DEST={15}&INDIR_DEST={16}&LOCAL_DEST={17}&CAP_DEST={18}&ULT_AGG={19}", ConfigurationManager.AppSettings["remoteDocUrl"], rDoc[0], rDoc[1], rDoc[2], rDoc[3], rDoc[4], rDoc[5], rDoc[6], rDoc[7], rDoc[8], rDoc[9], rDoc[10], rDoc[11], rDoc[12], rDoc[13], rDoc[14], rDoc[15], rDoc[16], rDoc[17], rDoc[18]); + } + catch (Exception exc) + { } + return answ; + } + /// + /// crea url formattato x upload CLI + /// + /// + /// + protected string createUrlCli(string[] rCli) + { + string answ = ""; + try + { + answ = string.Format("{0}?CodCliente={1}&RagSoc={2}&CodFis={3}&Tel={4}&Cell={5}&EnableSMS=1&Email={6}&Indir={7}&Cap={8}&Localita={9}&Prov={10}&Note={11}", ConfigurationManager.AppSettings["remoteCliUrl"], rCli[0], rCli[1], rCli[2], rCli[3], rCli[4], rCli[5], rCli[6], rCli[7], rCli[8], rCli[9], rCli[10]); + } + catch (Exception exc) + { } + return answ; + } + } +} \ No newline at end of file diff --git a/DataUploader/Properties/AssemblyInfo.cs b/DataUploader/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ab1545d --- /dev/null +++ b/DataUploader/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("DataUploader")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("DataUploader")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("adeaea23-a27d-45ed-8fd3-1d60223f72a8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/DataUploader/SyncDoc.aspx b/DataUploader/SyncDoc.aspx new file mode 100644 index 0000000..4be3ee9 --- /dev/null +++ b/DataUploader/SyncDoc.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SyncDoc.aspx.cs" Inherits="DataUploader.SyncDoc" %> + + + + + + + + +
+
+ +
+
+ + diff --git a/DataUploader/SyncDoc.aspx.cs b/DataUploader/SyncDoc.aspx.cs new file mode 100644 index 0000000..f9b310a --- /dev/null +++ b/DataUploader/SyncDoc.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace DataUploader +{ + public partial class SyncDoc : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/DataUploader/SyncDoc.aspx.designer.cs b/DataUploader/SyncDoc.aspx.designer.cs new file mode 100644 index 0000000..1d23ac5 --- /dev/null +++ b/DataUploader/SyncDoc.aspx.designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DataUploader +{ + + + public partial class SyncDoc + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/DataUploader/Web.Debug.config b/DataUploader/Web.Debug.config new file mode 100644 index 0000000..2e302f9 --- /dev/null +++ b/DataUploader/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/DataUploader/Web.Release.config b/DataUploader/Web.Release.config new file mode 100644 index 0000000..c358444 --- /dev/null +++ b/DataUploader/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/DataUploader/Web.config b/DataUploader/Web.config new file mode 100644 index 0000000..dc37b62 --- /dev/null +++ b/DataUploader/Web.config @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + diff --git a/DataUploader/bin/DataUploader.dll b/DataUploader/bin/DataUploader.dll new file mode 100644 index 0000000..0f17d7f Binary files /dev/null and b/DataUploader/bin/DataUploader.dll differ diff --git a/WebSCR.sln b/WebSCR.sln index 5b080e9..f84cf68 100644 --- a/WebSCR.sln +++ b/WebSCR.sln @@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VersGen", "VersGen\VersGen. EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebSCR_data", "WebSCR_data\WebSCR_data.csproj", "{D2ED1B6F-171D-4A7F-B0D5-87942451B79D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataUploader", "DataUploader\DataUploader.csproj", "{6A63FCE4-8388-4C62-9339-CCCF013C5D8A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution 218_SP|Any CPU = 218_SP|Any CPU @@ -139,6 +141,34 @@ Global {D2ED1B6F-171D-4A7F-B0D5-87942451B79D}.Steamware|Any CPU.Build.0 = Release|Any CPU {D2ED1B6F-171D-4A7F-B0D5-87942451B79D}.WinLab|Any CPU.ActiveCfg = Release|Any CPU {D2ED1B6F-171D-4A7F-B0D5-87942451B79D}.WinLab|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.218_SP|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.218_SP|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.218_test|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.218_test|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Alumat|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Alumat|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.DEMO|Any CPU.ActiveCfg = Debug|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.DEMO|Any CPU.Build.0 = Debug|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.deploy|Any CPU.ActiveCfg = Debug|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.deploy|Any CPU.Build.0 = Debug|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.EQUA|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.EQUA|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.ETS|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.ETS|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.ETS-218|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.ETS-218|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.IIS02|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.IIS02|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Release|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.SomaschiniUSA|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.SomaschiniUSA|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Steamware|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.Steamware|Any CPU.Build.0 = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.WinLab|Any CPU.ActiveCfg = Release|Any CPU + {6A63FCE4-8388-4C62-9339-CCCF013C5D8A}.WinLab|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/WebSCR.v11.suo b/WebSCR.v11.suo index d0c37c0..d97659f 100644 Binary files a/WebSCR.v11.suo and b/WebSCR.v11.suo differ diff --git a/WebSCR/Upload/Document.aspx b/WebSCR/Upload/Document.aspx index 938a1d2..0a770b4 100644 --- a/WebSCR/Upload/Document.aspx +++ b/WebSCR/Upload/Document.aspx @@ -9,7 +9,7 @@
- Restituisce ULTIMO record inserito (cod cliente masismo) altrimenti accetta dati x nuovo record cliente... + Restituisce ULTIMO record inserito (NUMERO) altrimenti accetta dati x nuovo record cliente...
diff --git a/WebSCR/Upload/Document.aspx.cs b/WebSCR/Upload/Document.aspx.cs index 1c78de6..b230bc6 100644 --- a/WebSCR/Upload/Document.aspx.cs +++ b/WebSCR/Upload/Document.aspx.cs @@ -101,7 +101,8 @@ namespace WebSCR.Upload try { DS_Applicazione.DB2_DOCSRow riga = DtProxy.man.taDocs.getLast()[0]; - answ = string.Format("{0}{1}", riga.TIPOPROTOC, riga.NUMEPROTOC); + //answ = string.Format("{0}{1}", riga.TIPOPROTOC, riga.NUMEPROTOC); + answ = string.Format("{0}", riga.NUMERO); } catch { diff --git a/WebSCR/WebSCR.csproj.user b/WebSCR/WebSCR.csproj.user index 412db86..17e35b4 100644 --- a/WebSCR/WebSCR.csproj.user +++ b/WebSCR/WebSCR.csproj.user @@ -1,7 +1,7 @@  - IIS02 + WinLab-Rigamonti diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll index dc2439b..9792920 100644 Binary files a/WebSCR/bin/SteamWare.dll and b/WebSCR/bin/SteamWare.dll differ diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll index 6525a58..40f9ee2 100644 Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll index ea16053..8b6c785 100644 Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ diff --git a/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 9edb399..0000000 Binary files a/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache deleted file mode 100644 index 3cb6951..0000000 Binary files a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/WebSCR/obj/Debug/WebSCR.dll b/WebSCR/obj/Debug/WebSCR.dll deleted file mode 100644 index 2ade440..0000000 Binary files a/WebSCR/obj/Debug/WebSCR.dll and /dev/null differ diff --git a/WebSCR_data/bin/Debug/SteamWare.dll b/WebSCR_data/bin/Debug/SteamWare.dll index ceb632e..9792920 100644 Binary files a/WebSCR_data/bin/Debug/SteamWare.dll and b/WebSCR_data/bin/Debug/SteamWare.dll differ diff --git a/WebSCR_data/bin/Debug/WebSCR_data.dll b/WebSCR_data/bin/Debug/WebSCR_data.dll index 01a9c96..8b6c785 100644 Binary files a/WebSCR_data/bin/Debug/WebSCR_data.dll and b/WebSCR_data/bin/Debug/WebSCR_data.dll differ diff --git a/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll index 3eea75a..3064272 100644 Binary files a/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache index 006f3af..455e28d 100644 Binary files a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache differ diff --git a/WebSCR_data/obj/Debug/WebSCR_data.dll b/WebSCR_data/obj/Debug/WebSCR_data.dll index 01a9c96..8b6c785 100644 Binary files a/WebSCR_data/obj/Debug/WebSCR_data.dll and b/WebSCR_data/obj/Debug/WebSCR_data.dll differ diff --git a/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache index a7d47bd..045c9cf 100644 Binary files a/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache differ