diff --git a/Jenkinsfile b/Jenkinsfile index 3768a7a..881e49f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { steps { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=260']) { + withEnv(['NEXT_BUILD_NUMBER=261']) { // env.versionNumber = VersionNumber(versionNumberString : '1.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '1.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'CMS-SC' diff --git a/XPS/Bootstrap.Master b/XPS/Bootstrap.Master index e632ccf..4dab0af 100644 --- a/XPS/Bootstrap.Master +++ b/XPS/Bootstrap.Master @@ -6,99 +6,98 @@ - - - - - - - - XPS Steamware + + + + + + + + XPS Steamware - - <%: System.Web.Optimization.Scripts.Render("~/bundles/modernizr") %> - <%: System.Web.Optimization.Scripts.Render("~/bundles/jquery") %> - <%: System.Web.Optimization.Scripts.Render("~/bundles/jqueryui") %> - <%: System.Web.Optimization.Scripts.Render("~/bundles/bootSwitch") %> - - - - - + + <%: System.Web.Optimization.Scripts.Render("~/bundles/modernizr") %> + <%: System.Web.Optimization.Scripts.Render("~/bundles/jquery") %> + <%: System.Web.Optimization.Scripts.Render("~/bundles/jqueryui") %> + <%: System.Web.Optimization.Scripts.Render("~/bundles/bootSwitch") %> + + + + + -
- - - <%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=272931&clcid=0x409 --%> - <%--Framework Scripts--%> - - - - - - - - - - - <%--Site Scripts--%> - - -
- -
-
-
- - - - - - - - -
- -

hello world!

- Area main content da customizzare -
-
-
-
-
- - - - -
- +
+
+
+
+
+ + + + <%: System.Web.Optimization.Scripts.Render("~/bundles/jSteamware") %> + - - + \ No newline at end of file diff --git a/XPS/Bootstrap.Master.designer.cs b/XPS/Bootstrap.Master.designer.cs index 418d90e..d7c329a 100644 --- a/XPS/Bootstrap.Master.designer.cs +++ b/XPS/Bootstrap.Master.designer.cs @@ -1,176 +1,178 @@ //------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. +// +// This code was generated by a tool. // -// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// //------------------------------------------------------------------------------ -namespace XPS { - - - public partial class Bootstrap { - +namespace XPS +{ + + + public partial class Bootstrap + { + /// - /// Controllo PlaceHolder1. + /// PlaceHolder1 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder1; - + /// - /// Controllo BundleReference1. + /// BundleReference1 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1; - + /// - /// Controllo BundleReference2. + /// BundleReference2 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2; - + /// - /// Controllo Head. + /// Head control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder Head; - + /// - /// Controllo form1. + /// form1 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// - /// Controllo ScriptManager1. + /// ScriptManager1 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.ScriptManager ScriptManager1; - + /// - /// Controllo mod_testata. + /// mod_testata control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::XPS.WebUserControls.mod_testata mod_testata; - + /// - /// Controllo uppFeatured. + /// uppFeatured control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.UpdatePanel uppFeatured; - + /// - /// Controllo FeaturedContent. + /// FeaturedContent control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent; - + /// - /// Controllo uppContainer. + /// uppContainer control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.UpdatePanel uppContainer; - + /// - /// Controllo Main. + /// Main control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder Main; - + /// - /// Controllo uppFooter. + /// uppFooter control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.UpdatePanel uppFooter; - + /// - /// Controllo Timer1. + /// Timer1 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.Timer Timer1; - + /// - /// Controllo lblDateTime. + /// lblDateTime control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblDateTime; - + /// - /// Controllo lblUtente. + /// lblUtente control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblUtente; - + /// - /// Controllo lblVers. + /// lblVers control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblVers; - + /// - /// Controllo logoSW. + /// logoSW control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Image logoSW; - + /// - /// Controllo PlaceHolder2. + /// PlaceHolder2 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder2; } diff --git a/XPS/WebUserControls/cmp_numRow.ascx b/XPS/WebUserControls/cmp_numRow.ascx new file mode 100644 index 0000000..520dc10 --- /dev/null +++ b/XPS/WebUserControls/cmp_numRow.ascx @@ -0,0 +1,8 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_numRow.ascx.cs" Inherits="XPS.WebUserControls.cmp_numRow" %> + +
+
+ righe/pag +
+ +
\ No newline at end of file diff --git a/XPS/WebUserControls/cmp_numRow.ascx.cs b/XPS/WebUserControls/cmp_numRow.ascx.cs new file mode 100644 index 0000000..b71fea8 --- /dev/null +++ b/XPS/WebUserControls/cmp_numRow.ascx.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace XPS.WebUserControls +{ + public partial class cmp_numRow : System.Web.UI.UserControl + { + #region Public Events + + public event EventHandler eh_selValore; + + #endregion Public Events + + #region Public Properties + + public int numRow + { + get + { + int answ = 10; + int.TryParse(txtNumRow.Text, out answ); + return answ > 0 ? answ : 10; ; + } + set + { + txtNumRow.Text = $"{value}"; + } + } + + #endregion Public Properties + + #region Protected Methods + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + numRow = 10; + } + } + + protected void txtNumRow_TextChanged(object sender, EventArgs e) + { + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + #endregion Protected Methods + } +} \ No newline at end of file diff --git a/XPS/WebUserControls/cmp_numRow.ascx.designer.cs b/XPS/WebUserControls/cmp_numRow.ascx.designer.cs new file mode 100644 index 0000000..740be2e --- /dev/null +++ b/XPS/WebUserControls/cmp_numRow.ascx.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 XPS.WebUserControls +{ + + + public partial class cmp_numRow + { + + /// + /// txtNumRow control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNumRow; + } +} diff --git a/XPS/WebUserControls/mod_update.ascx b/XPS/WebUserControls/mod_update.ascx index 186202b..9c0fcb0 100644 --- a/XPS/WebUserControls/mod_update.ascx +++ b/XPS/WebUserControls/mod_update.ascx @@ -1,30 +1,56 @@ <%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_update" CodeBehind="mod_update.ascx.cs" %> -<%--

- Modulo di update...

-

-  

-

- faremo tante cose

-

-  

-

- 1) wizard install
- 2) wizard di upgrade db

-

- per ora sarà solo visibile SOLO la funzione di sync dati del cliente (x caricare i dati dell'anagrafica...)

--%> -

- Aggiorna anagrafica clienti -

-

- con questa funzione verranno ricaricate le anagrafiche dei clienti: questo significa - che i nuovi clienti saranno importati ed aggiunti, mentr per i vecchi clienti di - cui si sia cambiata la descrizione e/o la parte di indirizzo (ma mantenuto il codice - cliente) si provvederà all'aggiornamento di questi dati a pari codice.

- - +<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %> + +
+
+

Aggiorna anagrafica clienti

+
+
+ + +
+ Cliccando sul button "Esegui upgrade" verranno ricaricate le anagrafiche dei clienti: questo significa che i nuovi clienti saranno importati ed aggiunti, mentr per i vecchi clienti di cui si sia cambiata la descrizione e/o la parte di indirizzo (ma mantenuto il codicecliente) si provvederà all'aggiornamento di questi dati a pari codice.
+
+
+

Elenco Clienti

+ + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+


- + \ No newline at end of file diff --git a/XPS/WebUserControls/mod_update.ascx.cs b/XPS/WebUserControls/mod_update.ascx.cs index 0dbd410..5bbc1a9 100644 --- a/XPS/WebUserControls/mod_update.ascx.cs +++ b/XPS/WebUserControls/mod_update.ascx.cs @@ -9,14 +9,65 @@ namespace XPS.WebUserControls { public partial class mod_update : System.Web.UI.UserControl { - protected void Page_Load(object sender, EventArgs e) - { + #region Public Events + public event EventHandler eh_resetSelezione; + + #endregion Public Events + + #region Private Methods + + private void Cmp_numRow_eh_selValore(object sender, EventArgs e) + { + grView.PageSize = cmp_numRow.numRow; } + + #endregion Private Methods + + #region Protected Methods + + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + protected void Button1_Click(object sender, EventArgs e) { lblStart.Text = "inizio sync..."; lblEnd.Text = extSync.obj.caricaClienti(); } + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + grView.PageSize = cmp_numRow.numRow; + } + cmp_numRow.eh_selValore += Cmp_numRow_eh_selValore; + } + + #endregion Protected Methods + + #region Public Methods + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion Public Methods } } \ No newline at end of file diff --git a/XPS/WebUserControls/mod_update.ascx.designer.cs b/XPS/WebUserControls/mod_update.ascx.designer.cs index 622c6b3..79cd531 100644 --- a/XPS/WebUserControls/mod_update.ascx.designer.cs +++ b/XPS/WebUserControls/mod_update.ascx.designer.cs @@ -1,18 +1,19 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.4963 // // Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace XPS.WebUserControls { - - - public partial class mod_update { - +namespace XPS.WebUserControls +{ + + + public partial class mod_update + { + /// /// Button1 control. /// @@ -21,7 +22,7 @@ namespace XPS.WebUserControls { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.LinkButton Button1; - + /// /// lblReset control. /// @@ -30,7 +31,34 @@ namespace XPS.WebUserControls { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblReset; - + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// cmp_numRow control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::XPS.WebUserControls.cmp_numRow cmp_numRow; + /// /// lblStart control. /// @@ -39,7 +67,7 @@ namespace XPS.WebUserControls { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblStart; - + /// /// lblEnd control. /// diff --git a/XPS/XPS.csproj b/XPS/XPS.csproj index 9049726..5f25514 100644 --- a/XPS/XPS.csproj +++ b/XPS/XPS.csproj @@ -836,6 +836,13 @@ vocabolario.aspx + + cmp_numRow.ascx + ASPXCodeBehind + + + cmp_numRow.ascx + mod_anagraficaEventi.ascx ASPXCodeBehind @@ -1157,6 +1164,7 @@ + diff --git a/XPS_data/DS_XPS.Designer.cs b/XPS_data/DS_XPS.Designer.cs index 9aca7d8..dd05284 100644 --- a/XPS_data/DS_XPS.Designer.cs +++ b/XPS_data/DS_XPS.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Il codice è stato generato da uno strumento. -// Versione runtime:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se -// il codice viene rigenerato. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -3854,7 +3854,7 @@ namespace XPS_data { return ((string)(this[this.tableNote.CodFaseColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodFase\' nella tabella \'Note\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodFase\' in table \'Note\' is DBNull.", e); } } set { @@ -3870,7 +3870,7 @@ namespace XPS_data { return ((string)(this[this.tableNote.UserNotaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserNota\' nella tabella \'Note\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'UserNota\' in table \'Note\' is DBNull.", e); } } set { @@ -3886,7 +3886,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableNote.DataColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Data\' nella tabella \'Note\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'Note\' is DBNull.", e); } } set { @@ -3902,7 +3902,7 @@ namespace XPS_data { return ((bool)(this[this.tableNote.ExtViewColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ExtView\' nella tabella \'Note\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Note\' is DBNull.", e); } } set { @@ -4025,7 +4025,7 @@ namespace XPS_data { return ((int)(this[this.tableStep4Obj.IdxStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxStato\' nella tabella \'Step4Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'Step4Obj\' is DBNull.", e); } } set { @@ -4041,7 +4041,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableStep4Obj.StartDatePrevColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'StartDatePrev\' nella tabella \'Step4Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'StartDatePrev\' in table \'Step4Obj\' is DBNull.", e); } } set { @@ -4057,7 +4057,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableStep4Obj.DueDatePrevColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDatePrev\' nella tabella \'Step4Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DueDatePrev\' in table \'Step4Obj\' is DBNull.", e); } } set { @@ -4073,7 +4073,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableStep4Obj.StartDateRealColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'StartDateReal\' nella tabella \'Step4Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'StartDateReal\' in table \'Step4Obj\' is DBNull.", e); } } set { @@ -4089,7 +4089,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableStep4Obj.DueDateRealColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDateReal\' nella tabella \'Step4Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DueDateReal\' in table \'Step4Obj\' is DBNull.", e); } } set { @@ -4105,7 +4105,7 @@ namespace XPS_data { return ((double)(this[this.tableStep4Obj.RatioComplColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'RatioCompl\' nella tabella \'Step4Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'RatioCompl\' in table \'Step4Obj\' is DBNull.", e); } } set { @@ -4230,7 +4230,7 @@ namespace XPS_data { return ((int)(this[this.tableObject2Set.QtaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'Object2Set\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'Object2Set\' is DBNull.", e); } } set { @@ -4246,7 +4246,7 @@ namespace XPS_data { return ((bool)(this[this.tableObject2Set.UserQtyReqColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserQtyReq\' nella tabella \'Object2Set\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'UserQtyReq\' in table \'Object2Set\' is DBNull.", e); } } set { @@ -4262,7 +4262,7 @@ namespace XPS_data { return ((string)(this[this.tableObject2Set.PosizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Posizione\' nella tabella \'Object2Set\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'Object2Set\' is DBNull.", e); } } set { @@ -4278,7 +4278,7 @@ namespace XPS_data { return ((bool)(this[this.tableObject2Set.TimeTrackEnabColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TimeTrackEnab\' nella tabella \'Object2Set\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TimeTrackEnab\' in table \'Object2Set\' is DBNull.", e); } } set { @@ -4294,7 +4294,7 @@ namespace XPS_data { return ((bool)(this[this.tableObject2Set.ProcReqColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ProcReq\' nella tabella \'Object2Set\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ProcReq\' in table \'Object2Set\' is DBNull.", e); } } set { @@ -4310,7 +4310,7 @@ namespace XPS_data { return ((bool)(this[this.tableObject2Set.ExtViewColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ExtView\' nella tabella \'Object2Set\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Object2Set\' is DBNull.", e); } } set { @@ -4435,7 +4435,7 @@ namespace XPS_data { return ((string)(this[this.tableUM.DescrUMColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrUM\' nella tabella \'UM\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrUM\' in table \'UM\' is DBNull.", e); } } set { @@ -4451,7 +4451,7 @@ namespace XPS_data { return ((double)(this[this.tableUM.FattoreSIColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'FattoreSI\' nella tabella \'UM\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'FattoreSI\' in table \'UM\' is DBNull.", e); } } set { @@ -4517,7 +4517,7 @@ namespace XPS_data { return ((string)(this[this.tableEventi.CodTipoEventoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodTipoEvento\' nella tabella \'Eventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e); } } set { @@ -4533,7 +4533,7 @@ namespace XPS_data { return ((string)(this[this.tableEventi.DescrEventoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrEvento\' nella tabella \'Eventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e); } } set { @@ -4549,7 +4549,7 @@ namespace XPS_data { return ((string)(this[this.tableEventi.ActionColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Action\' nella tabella \'Eventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e); } } set { @@ -4638,7 +4638,7 @@ namespace XPS_data { return ((string)(this[this.tableTipoEventi.DescrTipoEvColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrTipoEv\' nella tabella \'TipoEventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrTipoEv\' in table \'TipoEventi\' is DBNull.", e); } } set { @@ -4714,7 +4714,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ev2stati.DescrObjColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrObj\' nella tabella \'v_ev2stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'v_ev2stati\' is DBNull.", e); } } set { @@ -4741,7 +4741,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ev2stati.StatoCurrColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'StatoCurr\' nella tabella \'v_ev2stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'StatoCurr\' in table \'v_ev2stati\' is DBNull.", e); } } set { @@ -4768,7 +4768,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ev2stati.DescrEventoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrEvento\' nella tabella \'v_ev2stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'v_ev2stati\' is DBNull.", e); } } set { @@ -4784,7 +4784,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ev2stati.NextCodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NextCodStato\' nella tabella \'v_ev2stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'v_ev2stati\' is DBNull.", e); } } set { @@ -4800,7 +4800,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ev2stati.StatoNextColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'StatoNext\' nella tabella \'v_ev2stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'StatoNext\' in table \'v_ev2stati\' is DBNull.", e); } } set { @@ -4913,7 +4913,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagStati.DescrStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrStato\' nella tabella \'AnagStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e); } } set { @@ -4967,7 +4967,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagObj.DescrObjColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrObj\' nella tabella \'AnagObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'AnagObj\' is DBNull.", e); } } set { @@ -4983,7 +4983,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagObj.FamStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'FamStato\' nella tabella \'AnagObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'FamStato\' in table \'AnagObj\' is DBNull.", e); } } set { @@ -4999,7 +4999,7 @@ namespace XPS_data { return ((bool)(this[this.tableAnagObj.ConcretoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Concreto\' nella tabella \'AnagObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Concreto\' in table \'AnagObj\' is DBNull.", e); } } set { @@ -5088,7 +5088,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagMappe.DescrMappaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrMappa\' nella tabella \'AnagMappe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrMappa\' in table \'AnagMappe\' is DBNull.", e); } } set { @@ -10681,54 +10681,53 @@ SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa)"; } if (((this._noteTableAdapter != null) && (this.MatchTableAdapterConnection(this._noteTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._step4ObjTableAdapter != null) && (this.MatchTableAdapterConnection(this._step4ObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._object2SetTableAdapter != null) && (this.MatchTableAdapterConnection(this._object2SetTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._uMTableAdapter != null) && (this.MatchTableAdapterConnection(this._uMTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._eventiTableAdapter != null) && (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._tipoEventiTableAdapter != null) && (this.MatchTableAdapterConnection(this._tipoEventiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._anagStatiTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._anagObjTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._anagMappeTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagMappeTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" + - "età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" + - "er valida."); + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); } bool workConnOpened = false; if (((workConnection.State & global::System.Data.ConnectionState.Broken) @@ -10741,8 +10740,8 @@ SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa)"; } global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); if ((workTransaction == null)) { - throw new global::System.ApplicationException("Impossibile avviare la transazione. La connessione dati corrente non supporta le " + - "transazioni oppure lo stato corrente non consente l\'avvio della transazione."); + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); } global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); diff --git a/XPS_data/DS_applicazione.Designer.cs b/XPS_data/DS_applicazione.Designer.cs index 8bb535a..cee6669 100644 --- a/XPS_data/DS_applicazione.Designer.cs +++ b/XPS_data/DS_applicazione.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Il codice è stato generato da uno strumento. -// Versione runtime:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se -// il codice viene rigenerato. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -7276,7 +7276,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.RagioneSocialeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'RagioneSociale\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'RagioneSociale\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7292,7 +7292,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.pivaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'piva\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'piva\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7308,7 +7308,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.emailColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'email\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'email\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7324,7 +7324,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.indirizzoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'indirizzo\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'indirizzo\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7340,7 +7340,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.capColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'cap\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'cap\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7356,7 +7356,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.localitaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'localita\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'localita\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7372,7 +7372,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagClienti.provinciaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'provincia\' nella tabella \'AnagClienti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'provincia\' in table \'AnagClienti\' is DBNull.", e); } } set { @@ -7509,8 +7509,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagTrattamenti.DescrTrattamentoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrTrattamento\' nella tabella \'AnagTrattamenti\' è DBNu" + - "ll.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrTrattamento\' in table \'AnagTrattamenti\' is DBNull.", e); } } set { @@ -7586,7 +7585,7 @@ namespace XPS_data { return ((string)(this[this.tableTratt2Obj.NoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Note\' nella tabella \'Tratt2Obj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'Tratt2Obj\' is DBNull.", e); } } set { @@ -7662,7 +7661,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.StatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Stato\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7678,7 +7677,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.CodClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCliente\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7694,7 +7693,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.ClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cliente\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7710,7 +7709,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.descrizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7726,7 +7725,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.DDTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DDT\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7742,7 +7741,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_commesse.DataDDTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataDDT\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7758,7 +7757,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_commesse.DataArrivoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataArrivo\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7774,7 +7773,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.PosizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Posizione\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7790,7 +7789,7 @@ namespace XPS_data { return ((int)(this[this.tablev_commesse.QtaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7806,7 +7805,7 @@ namespace XPS_data { return ((double)(this[this.tablev_commesse.PesoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Peso\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7822,7 +7821,7 @@ namespace XPS_data { return ((int)(this[this.tablev_commesse.RigheColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Righe\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Righe\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7838,7 +7837,7 @@ namespace XPS_data { return ((int)(this[this.tablev_commesse.ColliColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Colli\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Colli\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7854,7 +7853,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_commesse.DataPrevistaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataPrevista\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7870,7 +7869,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.CicloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Ciclo\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Ciclo\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7886,7 +7885,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.CodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodStato\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7902,7 +7901,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.minStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'minStato\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'minStato\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7918,7 +7917,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.maxStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'maxStato\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'maxStato\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7934,7 +7933,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.minCodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'minCodStato\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'minCodStato\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7950,7 +7949,7 @@ namespace XPS_data { return ((string)(this[this.tablev_commesse.maxCodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'maxCodStato\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'maxCodStato\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -7966,7 +7965,7 @@ namespace XPS_data { return ((bool)(this[this.tablev_commesse.emailReqColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'emailReq\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'emailReq\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -8004,7 +8003,7 @@ namespace XPS_data { return ((int)(this[this.tablev_commesse.NumNoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumNote\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumNote\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -8020,7 +8019,7 @@ namespace XPS_data { return ((int)(this[this.tablev_commesse.NumClosColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumClos\' nella tabella \'v_commesse\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumClos\' in table \'v_commesse\' is DBNull.", e); } } set { @@ -8326,7 +8325,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.CodClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCliente\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8342,7 +8341,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.CodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodStato\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8358,7 +8357,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.PosizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Posizione\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8374,7 +8373,7 @@ namespace XPS_data { return ((int)(this[this.tableIstObj.LivelloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Livello\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Livello\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8390,7 +8389,7 @@ namespace XPS_data { return ((int)(this[this.tableIstObj.RevColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Rev\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Rev\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8406,7 +8405,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.CodObjColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodObj\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodObj\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8422,7 +8421,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.NomeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8438,7 +8437,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableIstObj.DataRifColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataRif\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8454,7 +8453,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.IdxObjMammaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxObjMamma\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8470,7 +8469,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.NoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Note\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8486,7 +8485,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.ExtKeyColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ExtKey\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ExtKey\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8502,7 +8501,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableIstObj.DueDateColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDate\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DueDate\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8518,7 +8517,7 @@ namespace XPS_data { return ((double)(this[this.tableIstObj.LeadTimeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'LeadTime\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'LeadTime\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8534,7 +8533,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.LeadTimeUMColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'LeadTimeUM\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'LeadTimeUM\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8550,7 +8549,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.UserCreazColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserCreaz\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'UserCreaz\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8566,7 +8565,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableIstObj.DataCreazColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataCreaz\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8582,7 +8581,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.UserModColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserMod\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'UserMod\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8598,7 +8597,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableIstObj.DataModColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataMod\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataMod\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8614,7 +8613,7 @@ namespace XPS_data { return ((int)(this[this.tableIstObj.QtaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8630,7 +8629,7 @@ namespace XPS_data { return ((double)(this[this.tableIstObj.PesoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Peso\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8646,7 +8645,7 @@ namespace XPS_data { return ((bool)(this[this.tableIstObj.emailReqColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'emailReq\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'emailReq\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8662,7 +8661,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tableIstObj.emailSentColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'emailSent\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'emailSent\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8678,7 +8677,7 @@ namespace XPS_data { return ((double)(this[this.tableIstObj.PesoEquivColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PesoEquiv\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PesoEquiv\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8716,7 +8715,7 @@ namespace XPS_data { return ((int)(this[this.tableIstObj.NumNoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumNote\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumNote\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8732,7 +8731,7 @@ namespace XPS_data { return ((string)(this[this.tableIstObj.IdxObjRootColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxObjRoot\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjRoot\' in table \'IstObj\' is DBNull.", e); } } set { @@ -8748,7 +8747,7 @@ namespace XPS_data { return ((int)(this[this.tableIstObj.NumClosColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumClos\' nella tabella \'IstObj\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumClos\' in table \'IstObj\' is DBNull.", e); } } set { @@ -9124,7 +9123,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.StatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Stato\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9140,7 +9139,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.CodClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCliente\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9156,7 +9155,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.ClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cliente\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9172,7 +9171,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.CodCliColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCli\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9188,7 +9187,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.descrizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9204,7 +9203,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.DDTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DDT\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9220,7 +9219,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_righe.DataDDTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataDDT\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9236,7 +9235,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_righe.DataArrivoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataArrivo\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9252,7 +9251,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.PosizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Posizione\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9268,7 +9267,7 @@ namespace XPS_data { return ((int)(this[this.tablev_righe.QtaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9284,7 +9283,7 @@ namespace XPS_data { return ((double)(this[this.tablev_righe.PesoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Peso\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9300,7 +9299,7 @@ namespace XPS_data { return ((int)(this[this.tablev_righe.ColliColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Colli\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Colli\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9316,7 +9315,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_righe.DataPrevistaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataPrevista\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9332,7 +9331,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.IdxObjMammaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxObjMamma\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9348,7 +9347,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.CodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodStato\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9364,7 +9363,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.minStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'minStato\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'minStato\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9380,7 +9379,7 @@ namespace XPS_data { return ((string)(this[this.tablev_righe.maxStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'maxStato\' nella tabella \'v_righe\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'maxStato\' in table \'v_righe\' is DBNull.", e); } } set { @@ -9615,7 +9614,7 @@ namespace XPS_data { return ((int)(this[this.tablesp_rec4Day.rec4DayColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'rec4Day\' nella tabella \'sp_rec4Day\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'rec4Day\' in table \'sp_rec4Day\' is DBNull.", e); } } set { @@ -9669,7 +9668,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.StatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Stato\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Stato\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9685,7 +9684,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.CodClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCliente\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9701,7 +9700,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.ClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Cliente\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Cliente\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9717,7 +9716,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.CodCliColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCli\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCli\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9733,7 +9732,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.descrizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9749,7 +9748,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.DDTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DDT\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DDT\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9765,7 +9764,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_ULP.DataDDTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataDDT\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataDDT\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9781,7 +9780,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_ULP.DataArrivoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataArrivo\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9797,7 +9796,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.PosizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Posizione\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9813,7 +9812,7 @@ namespace XPS_data { return ((int)(this[this.tablev_ULP.QtaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9829,7 +9828,7 @@ namespace XPS_data { return ((double)(this[this.tablev_ULP.PesoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Peso\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9845,7 +9844,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_ULP.DataPrevistaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataPrevista\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataPrevista\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9861,7 +9860,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.IdxObjMammaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxObjMamma\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxObjMamma\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9877,7 +9876,7 @@ namespace XPS_data { return ((string)(this[this.tablev_ULP.CodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodStato\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9915,7 +9914,7 @@ namespace XPS_data { return ((int)(this[this.tablev_ULP.NumNoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumNote\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumNote\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -9931,7 +9930,7 @@ namespace XPS_data { return ((int)(this[this.tablev_ULP.NumClosColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumClos\' nella tabella \'v_ULP\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumClos\' in table \'v_ULP\' is DBNull.", e); } } set { @@ -10165,7 +10164,7 @@ namespace XPS_data { return ((string)(this[this.tableEventi.CodTipoEventoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodTipoEvento\' nella tabella \'Eventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e); } } set { @@ -10181,7 +10180,7 @@ namespace XPS_data { return ((string)(this[this.tableEventi.DescrEventoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrEvento\' nella tabella \'Eventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e); } } set { @@ -10197,7 +10196,7 @@ namespace XPS_data { return ((string)(this[this.tableEventi.ActionColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Action\' nella tabella \'Eventi\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e); } } set { @@ -10319,7 +10318,7 @@ namespace XPS_data { return ((string)(this[this.tableTraEv2Stati.NextCodStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NextCodStato\' nella tabella \'TraEv2Stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'TraEv2Stati\' is DBNull.", e); } } set { @@ -10335,7 +10334,7 @@ namespace XPS_data { return ((string)(this[this.tableTraEv2Stati.CmdPluginColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CmdPlugin\' nella tabella \'TraEv2Stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CmdPlugin\' in table \'TraEv2Stati\' is DBNull.", e); } } set { @@ -10351,7 +10350,7 @@ namespace XPS_data { return ((string)(this[this.tableTraEv2Stati.text2showColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'text2show\' nella tabella \'TraEv2Stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'text2show\' in table \'TraEv2Stati\' is DBNull.", e); } } set { @@ -10367,7 +10366,7 @@ namespace XPS_data { return ((string)(this[this.tableTraEv2Stati.descrComandoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrComando\' nella tabella \'TraEv2Stati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'descrComando\' in table \'TraEv2Stati\' is DBNull.", e); } } set { @@ -10468,7 +10467,7 @@ namespace XPS_data { return ((string)(this[this.tablev_logStati.CodClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCliente\' nella tabella \'v_logStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_logStati\' is DBNull.", e); } } set { @@ -10484,7 +10483,7 @@ namespace XPS_data { return ((string)(this[this.tablev_logStati.NomeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'v_logStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'v_logStati\' is DBNull.", e); } } set { @@ -10500,7 +10499,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablev_logStati.DataRifColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataRif\' nella tabella \'v_logStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'v_logStati\' is DBNull.", e); } } set { @@ -10516,7 +10515,7 @@ namespace XPS_data { return ((string)(this[this.tablev_logStati.NoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Note\' nella tabella \'v_logStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'v_logStati\' is DBNull.", e); } } set { @@ -10532,7 +10531,7 @@ namespace XPS_data { return ((string)(this[this.tablev_logStati.ExtKeyColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ExtKey\' nella tabella \'v_logStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ExtKey\' in table \'v_logStati\' is DBNull.", e); } } set { @@ -10559,7 +10558,7 @@ namespace XPS_data { return ((string)(this[this.tablev_logStati.DescrStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrStato\' nella tabella \'v_logStati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'v_logStati\' is DBNull.", e); } } set { @@ -10662,7 +10661,7 @@ namespace XPS_data { return ((int)(this[this.tablesp_contaNonSched.quantiColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'quanti\' nella tabella \'sp_contaNonSched\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'quanti\' in table \'sp_contaNonSched\' is DBNull.", e); } } set { @@ -10748,7 +10747,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DDT_delColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DDT_del\' nella tabella \'sp_schedaIdent\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DDT_del\' in table \'sp_schedaIdent\' is DBNull.", e); } } set { @@ -10764,7 +10763,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablesp_schedaIdent.DataArrivoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataArrivo\' nella tabella \'sp_schedaIdent\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataArrivo\' in table \'sp_schedaIdent\' is DBNull.", e); } } set { @@ -10796,8 +10795,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablesp_schedaIdent.ConsegnaPrevistaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ConsegnaPrevista\' nella tabella \'sp_schedaIdent\' è DBNul" + - "l.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ConsegnaPrevista\' in table \'sp_schedaIdent\' is DBNull.", e); } } set { @@ -10813,7 +10811,7 @@ namespace XPS_data { return ((double)(this[this.tablesp_schedaIdent.PesoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Peso\' nella tabella \'sp_schedaIdent\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Peso\' in table \'sp_schedaIdent\' is DBNull.", e); } } set { @@ -11037,7 +11035,7 @@ namespace XPS_data { return ((string)(this[this.tablesp_schedaIdent.CodClienteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodCliente\' nella tabella \'sp_schedaIdent\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'sp_schedaIdent\' is DBNull.", e); } } set { @@ -11053,7 +11051,7 @@ namespace XPS_data { return ((int)(this[this.tablesp_schedaIdent.QtaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'sp_schedaIdent\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'sp_schedaIdent\' is DBNull.", e); } } set { @@ -11359,7 +11357,7 @@ namespace XPS_data { return ((global::System.DateTime)(this[this.tablesp_ddt.DataCreazColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataCreaz\' nella tabella \'sp_ddt\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'sp_ddt\' is DBNull.", e); } } set { @@ -11424,7 +11422,7 @@ namespace XPS_data { return ((double)(this[this.tableImpegniSchedulati.TotPesoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotPeso\' nella tabella \'ImpegniSchedulati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TotPeso\' in table \'ImpegniSchedulati\' is DBNull.", e); } } set { @@ -11440,8 +11438,7 @@ namespace XPS_data { return ((double)(this[this.tableImpegniSchedulati.TotPesoEquivColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotPesoEquiv\' nella tabella \'ImpegniSchedulati\' è DBNull" + - ".", e); + throw new global::System.Data.StrongTypingException("The value for column \'TotPesoEquiv\' in table \'ImpegniSchedulati\' is DBNull.", e); } } set { @@ -11457,7 +11454,7 @@ namespace XPS_data { return ((double)(this[this.tableImpegniSchedulati.RatioUnitColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'RatioUnit\' nella tabella \'ImpegniSchedulati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'RatioUnit\' in table \'ImpegniSchedulati\' is DBNull.", e); } } set { @@ -11473,7 +11470,7 @@ namespace XPS_data { return ((double)(this[this.tableImpegniSchedulati.NumUnitColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumUnit\' nella tabella \'ImpegniSchedulati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumUnit\' in table \'ImpegniSchedulati\' is DBNull.", e); } } set { @@ -11563,7 +11560,7 @@ namespace XPS_data { return ((string)(this[this.tableAnagLav.DescrLavColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrLav\' nella tabella \'AnagLav\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrLav\' in table \'AnagLav\' is DBNull.", e); } } set { @@ -12356,7 +12353,7 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagClienti"; @@ -12369,17 +12366,24 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = "dbo.stp_AnagCliUpdate"; + this._commandCollection[2].CommandText = "dbo.stp_AnagCliUpdateEmail"; this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagioneSociale", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@piva", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provincia", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_AnagCliUpdate"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagioneSociale", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@piva", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cap", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@provincia", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -12762,7 +12766,7 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateQuery(string Original_CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { + public virtual int UpdateEmail(string Original_CodCliente, string email) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; if ((Original_CodCliente == null)) { command.Parameters[1].Value = global::System.DBNull.Value; @@ -12770,6 +12774,40 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin else { command.Parameters[1].Value = ((string)(Original_CodCliente)); } + if ((email == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(email)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateQuery(string Original_CodCliente, string RagioneSociale, string piva, string email, string indirizzo, string cap, string localita, string provincia) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((Original_CodCliente == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodCliente)); + } if ((RagioneSociale == null)) { command.Parameters[2].Value = global::System.DBNull.Value; } @@ -18580,39 +18618,38 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav } if (((this._anagClientiTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._anagTrattamentiTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagTrattamentiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._tratt2ObjTableAdapter != null) && (this.MatchTableAdapterConnection(this._tratt2ObjTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._eventiTableAdapter != null) && (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._traEv2StatiTableAdapter != null) && (this.MatchTableAdapterConnection(this._traEv2StatiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._anagLavTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagLavTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" + - "età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" + - "er valida."); + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); } bool workConnOpened = false; if (((workConnection.State & global::System.Data.ConnectionState.Broken) @@ -18625,8 +18662,8 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav } global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); if ((workTransaction == null)) { - throw new global::System.ApplicationException("Impossibile avviare la transazione. La connessione dati corrente non supporta le " + - "transazioni oppure lo stato corrente non consente l\'avvio della transazione."); + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); } global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); diff --git a/XPS_data/DS_applicazione.xsd b/XPS_data/DS_applicazione.xsd index 82065f9..ef3ce84 100644 --- a/XPS_data/DS_applicazione.xsd +++ b/XPS_data/DS_applicazione.xsd @@ -110,6 +110,18 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin + + + + dbo.stp_AnagCliUpdateEmail + + + + + + + + @@ -2021,7 +2033,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav - + @@ -2039,7 +2051,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav - + @@ -2123,10 +2135,10 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav - - - - + + + + \ No newline at end of file diff --git a/XPS_data/DS_applicazione.xss b/XPS_data/DS_applicazione.xss index cf275ba..c39303c 100644 --- a/XPS_data/DS_applicazione.xss +++ b/XPS_data/DS_applicazione.xss @@ -4,9 +4,9 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - +