diff --git a/VersGen/WebSC.cs b/VersGen/WebSC.cs index 09fad76..23bc61e 100644 --- a/VersGen/WebSC.cs +++ b/VersGen/WebSC.cs @@ -5,7 +5,7 @@ using System.Reflection; -[assembly: AssemblyVersion("0.2.013.28")] -[assembly: AssemblyFileVersion("0.2.013.28")] +[assembly: AssemblyVersion("0.5.019.40")] +[assembly: AssemblyFileVersion("0.5.019.40")] [assembly: AssemblyCopyright("Steamware © 2015-2015")] [assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/WebSC.tt b/VersGen/WebSC.tt index 66bb56c..4c6d35e 100644 --- a/VersGen/WebSC.tt +++ b/VersGen/WebSC.tt @@ -6,8 +6,8 @@ using System.Reflection; -[assembly: AssemblyVersion("0.2.013.<#= this.RevisionNumber #>")] -[assembly: AssemblyFileVersion("0.2.013.<#= this.RevisionNumber #>")] +[assembly: AssemblyVersion("0.5.019.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("0.5.019.<#= this.RevisionNumber #>")] [assembly: AssemblyCopyright("Steamware © 2015-<#= DateTime.Now.Year #>")] [assembly: AssemblyCompany("Steamware")] <#+ diff --git a/VersGen/bin/Debug/VersGen.dll b/VersGen/bin/Debug/VersGen.dll index 486508c..73855e0 100644 Binary files a/VersGen/bin/Debug/VersGen.dll and b/VersGen/bin/Debug/VersGen.dll differ diff --git a/VersGen/bin/Release/VersGen.dll b/VersGen/bin/Release/VersGen.dll index d94539a..8b28c2c 100644 Binary files a/VersGen/bin/Release/VersGen.dll and b/VersGen/bin/Release/VersGen.dll differ diff --git a/VersGen/obj/Debug/TempPE/WebSC.cs.dll b/VersGen/obj/Debug/TempPE/WebSC.cs.dll index 9c6c998..4bc2694 100644 Binary files a/VersGen/obj/Debug/TempPE/WebSC.cs.dll and b/VersGen/obj/Debug/TempPE/WebSC.cs.dll differ diff --git a/VersGen/obj/Debug/VersGen.dll b/VersGen/obj/Debug/VersGen.dll index 486508c..73855e0 100644 Binary files a/VersGen/obj/Debug/VersGen.dll and b/VersGen/obj/Debug/VersGen.dll differ diff --git a/VersGen/obj/Release/TempPE/WebSC.cs.dll b/VersGen/obj/Release/TempPE/WebSC.cs.dll index a4a31f1..f5d5565 100644 Binary files a/VersGen/obj/Release/TempPE/WebSC.cs.dll and b/VersGen/obj/Release/TempPE/WebSC.cs.dll differ diff --git a/VersGen/obj/Release/VersGen.dll b/VersGen/obj/Release/VersGen.dll index d94539a..8b28c2c 100644 Binary files a/VersGen/obj/Release/VersGen.dll and b/VersGen/obj/Release/VersGen.dll differ diff --git a/WebSCR.v11.suo b/WebSCR.v11.suo index 65771b0..1fc733e 100644 Binary files a/WebSCR.v11.suo and b/WebSCR.v11.suo differ diff --git a/WebSCR/Properties/PublishProfiles/IIS02.pubxml b/WebSCR/Properties/PublishProfiles/IIS02.pubxml index de72b2b..f7b4693 100644 --- a/WebSCR/Properties/PublishProfiles/IIS02.pubxml +++ b/WebSCR/Properties/PublishProfiles/IIS02.pubxml @@ -10,10 +10,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt Any CPU True - True - True - False - DonotMerge True https://IIS02:8172/MsDeploy.axd Default Web Site/WebSCR @@ -35,8 +31,32 @@ by editing this MSBuild file. In order to learn more about this please visit htt + + + + + + + + + + + + + + + + + + + + + True + True + False + DonotMerge diff --git a/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml b/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml index 97094dd..928279c 100644 --- a/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml +++ b/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml @@ -31,6 +31,26 @@ by editing this MSBuild file. In order to learn more about this please visit htt + + + + + + + + + + + + + + + + + + + + True @@ -43,5 +63,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer False + + \ No newline at end of file diff --git a/WebSCR/Setup.aspx b/WebSCR/Setup.aspx index c6d446d..82a6c94 100644 --- a/WebSCR/Setup.aspx +++ b/WebSCR/Setup.aspx @@ -5,17 +5,21 @@ <%@ Register Src="~/WebUserControls/mod_elencoTipoInt.ascx" TagPrefix="uc1" TagName="mod_elencoTipoInt" %> <%@ Register Src="~/WebUserControls/mod_elencoZone.ascx" TagPrefix="uc1" TagName="mod_elencoZone" %> + + -
- Squadre - Tipo Intervento - Zone - Calendario +
+ + + + + + + + + +
- - - - diff --git a/WebSCR/Setup.aspx.cs b/WebSCR/Setup.aspx.cs index bf4da95..3241d7d 100644 --- a/WebSCR/Setup.aspx.cs +++ b/WebSCR/Setup.aspx.cs @@ -22,50 +22,25 @@ namespace WebSCR /// private void showDetail(string dettaglio) { - // fix base css buttons - btnSquadre.CssClass = "ui-btn ui-corner-all ui-icon-user ui-btn-icon-left"; - btnTipoInt.CssClass = "ui-btn ui-corner-all ui-icon-bullets ui-btn-icon-left"; - btnZone.CssClass = "ui-btn ui-corner-all ui-icon-grid ui-btn-icon-left"; - btnCalendario.CssClass = "ui-btn ui-corner-all ui-icon-calendar ui-btn-icon-left"; + mod_elencoDisp.Visible = false; + mod_elencoSquadre.Visible = false; + mod_elencoTipoInt.Visible = false; + mod_elencoZone.Visible = false; switch (dettaglio) { case "calendario": mod_elencoDisp.Visible = true; - mod_elencoSquadre.Visible = false; - mod_elencoTipoInt.Visible = false; - mod_elencoZone.Visible = false; - - btnCalendario.CssClass += " ui-btn-active"; break; case "squadre": - mod_elencoDisp.Visible = false; mod_elencoSquadre.Visible = true; - mod_elencoTipoInt.Visible = false; - mod_elencoZone.Visible = false; - - btnSquadre.CssClass += " ui-btn-active"; break; case "tipoInt": - mod_elencoDisp.Visible = false; - mod_elencoSquadre.Visible = false; mod_elencoTipoInt.Visible = true; - mod_elencoZone.Visible = false; - - btnTipoInt.CssClass += " ui-btn-active"; break; case "zone": - mod_elencoDisp.Visible = false; - mod_elencoSquadre.Visible = false; - mod_elencoTipoInt.Visible = false; mod_elencoZone.Visible = true; - - btnZone.CssClass += " ui-btn-active"; break; default: - mod_elencoDisp.Visible = false; - mod_elencoSquadre.Visible = false; - mod_elencoTipoInt.Visible = false; - mod_elencoZone.Visible = false; break; } } @@ -74,9 +49,9 @@ namespace WebSCR /// /// /// - protected void btnElenco_Click(object sender, EventArgs e) + protected void rblSelDetail_SelectedIndexChanged(object sender, EventArgs e) { - showDetail(((LinkButton)sender).CommandArgument); + showDetail(((RadioButtonList)sender).SelectedValue); } } } \ No newline at end of file diff --git a/WebSCR/Setup.aspx.designer.cs b/WebSCR/Setup.aspx.designer.cs index 43a8d10..798ecb3 100644 --- a/WebSCR/Setup.aspx.designer.cs +++ b/WebSCR/Setup.aspx.designer.cs @@ -13,58 +13,13 @@ namespace WebSCR { public partial class Setup { /// - /// btnSquadre control. + /// rblSelDetail control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.LinkButton btnSquadre; - - /// - /// btnTipoInt control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.LinkButton btnTipoInt; - - /// - /// btnZone control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.LinkButton btnZone; - - /// - /// btnCalendario control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.LinkButton btnCalendario; - - /// - /// mod_elencoDisp control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::WebSCR.WebUserControls.mod_elencoDisp mod_elencoDisp; - - /// - /// mod_elencoSquadre control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::WebSCR.WebUserControls.mod_elencoSquadre mod_elencoSquadre; + protected global::System.Web.UI.WebControls.RadioButtonList rblSelDetail; /// /// mod_elencoTipoInt control. @@ -83,5 +38,23 @@ namespace WebSCR { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebSCR.WebUserControls.mod_elencoZone mod_elencoZone; + + /// + /// mod_elencoDisp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebSCR.WebUserControls.mod_elencoDisp mod_elencoDisp; + + /// + /// mod_elencoSquadre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebSCR.WebUserControls.mod_elencoSquadre mod_elencoSquadre; } } diff --git a/WebSCR/Web.WinLab.config b/WebSCR/Web.WinLab.config index 5489e23..0a1d497 100644 --- a/WebSCR/Web.WinLab.config +++ b/WebSCR/Web.WinLab.config @@ -18,7 +18,8 @@ - + + diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx b/WebSCR/WebUserControls/mod_dettInt.ascx index 046095e..3475dc2 100644 --- a/WebSCR/WebUserControls/mod_dettInt.ascx +++ b/WebSCR/WebUserControls/mod_dettInt.ascx @@ -23,28 +23,28 @@ Nessun Task - <%-- - - - -
- -
-
- - - -
--%> + + + + +
+ +
+
+ + + +
- <%-- -
- -
- note: + +
+ +
+ note: -
-
-
--%> +
+
+
@@ -54,10 +54,10 @@
- <%--
- note: +
+ note: -
--%> +
diff --git a/WebSCR/WebUserControls/mod_elencoClienti.ascx b/WebSCR/WebUserControls/mod_elencoClienti.ascx index a609ba7..9abedaa 100644 --- a/WebSCR/WebUserControls/mod_elencoClienti.ascx +++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx @@ -20,35 +20,32 @@ - - + - - - - - - - - + + + + +
- + <%----%>
- + + <%--OR Indir LIKE '%{0}%' OR Localita LIKE '%{0}%'--%>
diff --git a/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs b/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs index f1f4764..8323507 100644 --- a/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs +++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs @@ -47,7 +47,7 @@ namespace WebSCR.WebUserControls CodCliente = grView.SelectedDataKey["CodCliente"].ToString(); memLayer.ML.setSessionVal("CodCliente", CodCliente); DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0]; - memLayer.ML.setSessionVal("Cliente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.CodFis)); + memLayer.ML.setSessionVal("Cliente", string.Format("{0} ({1:dd/MM/yyyy})", riga.RagSoc, DateTime.Now)); } catch(Exception exc) diff --git a/WebSCR/WebUserControls/mod_footer.ascx b/WebSCR/WebUserControls/mod_footer.ascx index a6f2118..ea61fb7 100644 --- a/WebSCR/WebUserControls/mod_footer.ascx +++ b/WebSCR/WebUserControls/mod_footer.ascx @@ -2,9 +2,9 @@ diff --git a/WebSCR/WebUserControls/mod_footer.ascx.cs b/WebSCR/WebUserControls/mod_footer.ascx.cs index 5764d19..d5670d8 100644 --- a/WebSCR/WebUserControls/mod_footer.ascx.cs +++ b/WebSCR/WebUserControls/mod_footer.ascx.cs @@ -27,6 +27,9 @@ namespace WebSCR.WebUserControls string answ = ""; string nome = nomeElem.ToString(); if (Request.Url.ToString().ToLower().Contains(nome.ToLower())) answ = "ui-btn-active"; + + // !!!FARE!!! controllo visibilità da permessi (x squadre in particolare) +#if false // se E' Dettaglio e non c'è cod Impegno metto disabled... if (nome.Contains("Dettaglio")) { @@ -34,7 +37,8 @@ namespace WebSCR.WebUserControls { answ += " ui-state-disabled"; } - } + } +#endif return answ; } diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll index 6555fcf..c1df1eb 100644 Binary files a/WebSCR/bin/SteamWare.dll and b/WebSCR/bin/SteamWare.dll differ diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll index 853ee9a..0dac0f4 100644 Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll index 9c57b3b..bc76f04 100644 Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ diff --git a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache index c03c0a3..65b0a3d 100644 Binary files a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache and b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache differ diff --git a/WebSCR/obj/Debug/WebSCR.dll b/WebSCR/obj/Debug/WebSCR.dll index 853ee9a..943dff7 100644 Binary files a/WebSCR/obj/Debug/WebSCR.dll and b/WebSCR/obj/Debug/WebSCR.dll differ diff --git a/WebSCR_data/DS_Applicazione.Designer.cs b/WebSCR_data/DS_Applicazione.Designer.cs index 21d98d0..c4f7d54 100644 --- a/WebSCR_data/DS_Applicazione.Designer.cs +++ b/WebSCR_data/DS_Applicazione.Designer.cs @@ -1629,10 +1629,6 @@ namespace WebSCR_data { private global::System.Data.DataColumn columnCodCliente; - private global::System.Data.DataColumn columnCognome; - - private global::System.Data.DataColumn columnNome; - private global::System.Data.DataColumn columnCodFis; private global::System.Data.DataColumn columnTel; @@ -1641,24 +1637,20 @@ namespace WebSCR_data { private global::System.Data.DataColumn columnEmail; - private global::System.Data.DataColumn columnIndir_01; - - private global::System.Data.DataColumn columnCap_01; - - private global::System.Data.DataColumn columnLocalita_01; - - private global::System.Data.DataColumn columnProv_01; - - private global::System.Data.DataColumn columnIndir_02; - - private global::System.Data.DataColumn columnCap_02; - - private global::System.Data.DataColumn columnLocalita_02; - - private global::System.Data.DataColumn columnProv_02; - private global::System.Data.DataColumn columnNote; + private global::System.Data.DataColumn columnRagSoc; + + private global::System.Data.DataColumn columnEnableSMS; + + private global::System.Data.DataColumn columnIndir; + + private global::System.Data.DataColumn columnCap; + + private global::System.Data.DataColumn columnLocalita; + + private global::System.Data.DataColumn columnProv; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public AnagClientiDataTable() { @@ -1700,22 +1692,6 @@ namespace WebSCR_data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CognomeColumn { - get { - return this.columnCognome; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { - return this.columnNome; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CodFisColumn { @@ -1748,70 +1724,6 @@ namespace WebSCR_data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Indir_01Column { - get { - return this.columnIndir_01; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Cap_01Column { - get { - return this.columnCap_01; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Localita_01Column { - get { - return this.columnLocalita_01; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Prov_01Column { - get { - return this.columnProv_01; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Indir_02Column { - get { - return this.columnIndir_02; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Cap_02Column { - get { - return this.columnCap_02; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Localita_02Column { - get { - return this.columnLocalita_02; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn Prov_02Column { - get { - return this.columnProv_02; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn NoteColumn { @@ -1820,6 +1732,54 @@ namespace WebSCR_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocColumn { + get { + return this.columnRagSoc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EnableSMSColumn { + get { + return this.columnEnableSMS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IndirColumn { + get { + return this.columnIndir; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CapColumn { + get { + return this.columnCap; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LocalitaColumn { + get { + return this.columnLocalita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ProvColumn { + get { + return this.columnProv; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1857,41 +1817,21 @@ namespace WebSCR_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AnagClientiRow AddAnagClientiRow( - string CodCliente, - string Cognome, - string Nome, - string CodFis, - string Tel, - string Cell, - string Email, - string Indir_01, - string Cap_01, - string Localita_01, - string Prov_01, - string Indir_02, - string Cap_02, - string Localita_02, - string Prov_02, - string Note) { + public AnagClientiRow AddAnagClientiRow(string CodCliente, string CodFis, string Tel, string Cell, string Email, string Note, string RagSoc, bool EnableSMS, string Indir, string Cap, string Localita, string Prov) { AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow())); object[] columnValuesArray = new object[] { CodCliente, - Cognome, - Nome, CodFis, Tel, Cell, Email, - Indir_01, - Cap_01, - Localita_01, - Prov_01, - Indir_02, - Cap_02, - Localita_02, - Prov_02, - Note}; + Note, + RagSoc, + EnableSMS, + Indir, + Cap, + Localita, + Prov}; rowAnagClientiRow.ItemArray = columnValuesArray; this.Rows.Add(rowAnagClientiRow); return rowAnagClientiRow; @@ -1922,21 +1862,17 @@ namespace WebSCR_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCodCliente = base.Columns["CodCliente"]; - this.columnCognome = base.Columns["Cognome"]; - this.columnNome = base.Columns["Nome"]; this.columnCodFis = base.Columns["CodFis"]; this.columnTel = base.Columns["Tel"]; this.columnCell = base.Columns["Cell"]; this.columnEmail = base.Columns["Email"]; - this.columnIndir_01 = base.Columns["Indir_01"]; - this.columnCap_01 = base.Columns["Cap_01"]; - this.columnLocalita_01 = base.Columns["Localita_01"]; - this.columnProv_01 = base.Columns["Prov_01"]; - this.columnIndir_02 = base.Columns["Indir_02"]; - this.columnCap_02 = base.Columns["Cap_02"]; - this.columnLocalita_02 = base.Columns["Localita_02"]; - this.columnProv_02 = base.Columns["Prov_02"]; this.columnNote = base.Columns["Note"]; + this.columnRagSoc = base.Columns["RagSoc"]; + this.columnEnableSMS = base.Columns["EnableSMS"]; + this.columnIndir = base.Columns["Indir"]; + this.columnCap = base.Columns["Cap"]; + this.columnLocalita = base.Columns["Localita"]; + this.columnProv = base.Columns["Prov"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1944,10 +1880,6 @@ namespace WebSCR_data { private void InitClass() { this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodCliente); - this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCognome); - this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNome); this.columnCodFis = new global::System.Data.DataColumn("CodFis", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodFis); this.columnTel = new global::System.Data.DataColumn("Tel", typeof(string), null, global::System.Data.MappingType.Element); @@ -1956,44 +1888,37 @@ namespace WebSCR_data { base.Columns.Add(this.columnCell); this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEmail); - this.columnIndir_01 = new global::System.Data.DataColumn("Indir_01", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIndir_01); - this.columnCap_01 = new global::System.Data.DataColumn("Cap_01", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCap_01); - this.columnLocalita_01 = new global::System.Data.DataColumn("Localita_01", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnLocalita_01); - this.columnProv_01 = new global::System.Data.DataColumn("Prov_01", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnProv_01); - this.columnIndir_02 = new global::System.Data.DataColumn("Indir_02", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIndir_02); - this.columnCap_02 = new global::System.Data.DataColumn("Cap_02", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCap_02); - this.columnLocalita_02 = new global::System.Data.DataColumn("Localita_02", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnLocalita_02); - this.columnProv_02 = new global::System.Data.DataColumn("Prov_02", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnProv_02); this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNote); + this.columnRagSoc = new global::System.Data.DataColumn("RagSoc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRagSoc); + this.columnEnableSMS = new global::System.Data.DataColumn("EnableSMS", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEnableSMS); + this.columnIndir = new global::System.Data.DataColumn("Indir", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIndir); + this.columnCap = new global::System.Data.DataColumn("Cap", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCap); + this.columnLocalita = new global::System.Data.DataColumn("Localita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLocalita); + this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProv); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCodCliente}, true)); this.columnCodCliente.AllowDBNull = false; this.columnCodCliente.Unique = true; this.columnCodCliente.MaxLength = 50; - this.columnCognome.MaxLength = 50; - this.columnNome.MaxLength = 50; this.columnCodFis.MaxLength = 50; this.columnTel.MaxLength = 50; this.columnCell.MaxLength = 50; this.columnEmail.MaxLength = 250; - this.columnIndir_01.MaxLength = 50; - this.columnCap_01.MaxLength = 10; - this.columnLocalita_01.MaxLength = 50; - this.columnProv_01.MaxLength = 2; - this.columnIndir_02.MaxLength = 50; - this.columnCap_02.MaxLength = 10; - this.columnLocalita_02.MaxLength = 50; - this.columnProv_02.MaxLength = 2; this.columnNote.MaxLength = 250; + this.columnRagSoc.AllowDBNull = false; + this.columnRagSoc.MaxLength = 100; + this.columnEnableSMS.AllowDBNull = false; + this.columnIndir.MaxLength = 50; + this.columnCap.MaxLength = 10; + this.columnLocalita.MaxLength = 50; + this.columnProv.MaxLength = 10; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -4800,38 +4725,6 @@ namespace WebSCR_data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cognome { - get { - try { - return ((string)(this[this.tableAnagClienti.CognomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cognome\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.CognomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Nome { - get { - try { - return ((string)(this[this.tableAnagClienti.NomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.NomeColumn] = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string CodFis { @@ -4896,134 +4789,6 @@ namespace WebSCR_data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Indir_01 { - get { - try { - return ((string)(this[this.tableAnagClienti.Indir_01Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Indir_01\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Indir_01Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cap_01 { - get { - try { - return ((string)(this[this.tableAnagClienti.Cap_01Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cap_01\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Cap_01Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Localita_01 { - get { - try { - return ((string)(this[this.tableAnagClienti.Localita_01Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Localita_01\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Localita_01Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Prov_01 { - get { - try { - return ((string)(this[this.tableAnagClienti.Prov_01Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Prov_01\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Prov_01Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Indir_02 { - get { - try { - return ((string)(this[this.tableAnagClienti.Indir_02Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Indir_02\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Indir_02Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cap_02 { - get { - try { - return ((string)(this[this.tableAnagClienti.Cap_02Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cap_02\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Cap_02Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Localita_02 { - get { - try { - return ((string)(this[this.tableAnagClienti.Localita_02Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Localita_02\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Localita_02Column] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Prov_02 { - get { - try { - return ((string)(this[this.tableAnagClienti.Prov_02Column])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Prov_02\' in table \'AnagClienti\' is DBNull.", e); - } - } - set { - this[this.tableAnagClienti.Prov_02Column] = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string Note { @@ -5042,26 +4807,88 @@ namespace WebSCR_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCognomeNull() { - return this.IsNull(this.tableAnagClienti.CognomeColumn); + public string RagSoc { + get { + return ((string)(this[this.tableAnagClienti.RagSocColumn])); + } + set { + this[this.tableAnagClienti.RagSocColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCognomeNull() { - this[this.tableAnagClienti.CognomeColumn] = global::System.Convert.DBNull; + public bool EnableSMS { + get { + return ((bool)(this[this.tableAnagClienti.EnableSMSColumn])); + } + set { + this[this.tableAnagClienti.EnableSMSColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNomeNull() { - return this.IsNull(this.tableAnagClienti.NomeColumn); + public string Indir { + get { + try { + return ((string)(this[this.tableAnagClienti.IndirColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Indir\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.IndirColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNomeNull() { - this[this.tableAnagClienti.NomeColumn] = global::System.Convert.DBNull; + public string Cap { + get { + try { + return ((string)(this[this.tableAnagClienti.CapColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Cap\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.CapColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Localita { + get { + try { + return ((string)(this[this.tableAnagClienti.LocalitaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Localita\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.LocalitaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Prov { + get { + try { + return ((string)(this[this.tableAnagClienti.ProvColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Prov\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.ProvColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -5112,102 +4939,6 @@ namespace WebSCR_data { this[this.tableAnagClienti.EmailColumn] = global::System.Convert.DBNull; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIndir_01Null() { - return this.IsNull(this.tableAnagClienti.Indir_01Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIndir_01Null() { - this[this.tableAnagClienti.Indir_01Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCap_01Null() { - return this.IsNull(this.tableAnagClienti.Cap_01Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCap_01Null() { - this[this.tableAnagClienti.Cap_01Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsLocalita_01Null() { - return this.IsNull(this.tableAnagClienti.Localita_01Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetLocalita_01Null() { - this[this.tableAnagClienti.Localita_01Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsProv_01Null() { - return this.IsNull(this.tableAnagClienti.Prov_01Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetProv_01Null() { - this[this.tableAnagClienti.Prov_01Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsIndir_02Null() { - return this.IsNull(this.tableAnagClienti.Indir_02Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetIndir_02Null() { - this[this.tableAnagClienti.Indir_02Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCap_02Null() { - return this.IsNull(this.tableAnagClienti.Cap_02Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCap_02Null() { - this[this.tableAnagClienti.Cap_02Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsLocalita_02Null() { - return this.IsNull(this.tableAnagClienti.Localita_02Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetLocalita_02Null() { - this[this.tableAnagClienti.Localita_02Column] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsProv_02Null() { - return this.IsNull(this.tableAnagClienti.Prov_02Column); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetProv_02Null() { - this[this.tableAnagClienti.Prov_02Column] = global::System.Convert.DBNull; - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsNoteNull() { @@ -5219,6 +4950,54 @@ namespace WebSCR_data { public void SetNoteNull() { this[this.tableAnagClienti.NoteColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIndirNull() { + return this.IsNull(this.tableAnagClienti.IndirColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIndirNull() { + this[this.tableAnagClienti.IndirColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCapNull() { + return this.IsNull(this.tableAnagClienti.CapColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCapNull() { + this[this.tableAnagClienti.CapColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLocalitaNull() { + return this.IsNull(this.tableAnagClienti.LocalitaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLocalitaNull() { + this[this.tableAnagClienti.LocalitaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsProvNull() { + return this.IsNull(this.tableAnagClienti.ProvColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetProvNull() { + this[this.tableAnagClienti.ProvColumn] = global::System.Convert.DBNull; + } } /// @@ -8361,150 +8140,96 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "AnagClienti"; tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Cognome", "Cognome"); - tableMapping.ColumnMappings.Add("Nome", "Nome"); tableMapping.ColumnMappings.Add("CodFis", "CodFis"); tableMapping.ColumnMappings.Add("Tel", "Tel"); tableMapping.ColumnMappings.Add("Cell", "Cell"); tableMapping.ColumnMappings.Add("Email", "Email"); - tableMapping.ColumnMappings.Add("Indir_01", "Indir_01"); - tableMapping.ColumnMappings.Add("Cap_01", "Cap_01"); - tableMapping.ColumnMappings.Add("Localita_01", "Localita_01"); - tableMapping.ColumnMappings.Add("Prov_01", "Prov_01"); - tableMapping.ColumnMappings.Add("Indir_02", "Indir_02"); - tableMapping.ColumnMappings.Add("Cap_02", "Cap_02"); - tableMapping.ColumnMappings.Add("Localita_02", "Localita_02"); - tableMapping.ColumnMappings.Add("Prov_02", "Prov_02"); tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("RagSoc", "RagSoc"); + tableMapping.ColumnMappings.Add("EnableSMS", "EnableSMS"); + tableMapping.ColumnMappings.Add("Indir", "Indir"); + tableMapping.ColumnMappings.Add("Cap", "Cap"); + tableMapping.ColumnMappings.Add("Localita", "Localita"); + tableMapping.ColumnMappings.Add("Prov", "Prov"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; - this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir_01 = 1 AND [Indir_01] IS NULL) OR ([Indir_01] = @Original_Indir_01)) AND ((@IsNull_Cap_01 = 1 AND [Cap_01] IS NULL) OR ([Cap_01] = @Original_Cap_01)) AND ((@IsNull_Localita_01 = 1 AND [Localita_01] IS NULL) OR ([Localita_01] = @Original_Localita_01)) AND ((@IsNull_Prov_01 = 1 AND [Prov_01] IS NULL) OR ([Prov_01] = @Original_Prov_01)) AND ((@IsNull_Indir_02 = 1 AND [Indir_02] IS NULL) OR ([Indir_02] = @Original_Indir_02)) AND ((@IsNull_Cap_02 = 1 AND [Cap_02] IS NULL) OR ([Cap_02] = @Original_Cap_02)) AND ((@IsNull_Localita_02 = 1 AND [Localita_02] IS NULL) OR ([Localita_02] = @Original_Localita_02)) AND ((@IsNull_Prov_02 = 1 AND [Prov_02] IS NULL) OR ([Prov_02] = @Original_Prov_02)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)))"; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cognome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFis", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cell", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagClienti] ([CodCliente], [Cognome], [Nome], [CodFis], [Tel], [Cell], [Email], [Indir_01], [Cap_01], [Localita_01], [Prov_01], [Indir_02], [Cap_02], [Localita_02], [Prov_02], [Note]) VALUES (@CodCliente, @Cognome, @Nome, @CodFis, @Tel, @Cell, @Email, @Indir_01, @Cap_01, @Localita_01, @Prov_01, @Indir_02, @Cap_02, @Localita_02, @Prov_02, @Note); -SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Localita_01, Prov_01, Indir_02, Cap_02, Localita_02, Prov_02, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagClienti] ([CodCliente], [RagSoc], [CodFis], [Tel], [Cell], [EnableSMS], [Email], [Indir], [Cap], [Localita], [Prov], [Note]) VALUES (@CodCliente, @RagSoc, @CodFis, @Tel, @Cell, @EnableSMS, @Email, @Indir, @Cap, @Localita, @Prov, @Note); +SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [Cognome] = @Cognome, " + - "[Nome] = @Nome, [CodFis] = @CodFis, [Tel] = @Tel, [Cell] = @Cell, [Email] = @Ema" + - "il, [Indir_01] = @Indir_01, [Cap_01] = @Cap_01, [Localita_01] = @Localita_01, [P" + - "rov_01] = @Prov_01, [Indir_02] = @Indir_02, [Cap_02] = @Cap_02, [Localita_02] = " + - "@Localita_02, [Prov_02] = @Prov_02, [Note] = @Note WHERE (([CodCliente] = @Origi" + - "nal_CodCliente) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] =" + - " @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Or" + - "iginal_Nome)) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Ori" + - "ginal_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Te" + - "l)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND" + - " ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((" + - "@IsNull_Indir_01 = 1 AND [Indir_01] IS NULL) OR ([Indir_01] = @Original_Indir_01" + - ")) AND ((@IsNull_Cap_01 = 1 AND [Cap_01] IS NULL) OR ([Cap_01] = @Original_Cap_0" + - "1)) AND ((@IsNull_Localita_01 = 1 AND [Localita_01] IS NULL) OR ([Localita_01] =" + - " @Original_Localita_01)) AND ((@IsNull_Prov_01 = 1 AND [Prov_01] IS NULL) OR ([P" + - "rov_01] = @Original_Prov_01)) AND ((@IsNull_Indir_02 = 1 AND [Indir_02] IS NULL)" + - " OR ([Indir_02] = @Original_Indir_02)) AND ((@IsNull_Cap_02 = 1 AND [Cap_02] IS " + - "NULL) OR ([Cap_02] = @Original_Cap_02)) AND ((@IsNull_Localita_02 = 1 AND [Local" + - "ita_02] IS NULL) OR ([Localita_02] = @Original_Localita_02)) AND ((@IsNull_Prov_" + - "02 = 1 AND [Prov_02] IS NULL) OR ([Prov_02] = @Original_Prov_02)) AND ((@IsNull_" + - "Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)));\r\nSELECT CodCliente," + - " Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Localita_01, Prov_01" + - ", Indir_02, Cap_02, Localita_02, Prov_02, Note FROM AnagClienti WHERE (CodClient" + - "e = @CodCliente)"; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSoc] = @RagSoc, [CodFis] = @CodFis, [Tel] = @Tel, [Cell] = @Cell, [EnableSMS] = @EnableSMS, [Email] = @Email, [Indir] = @Indir, [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Note] = @Note WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); +SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_02", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cognome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFis", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cell", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov_01", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_01", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov_01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov_02", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_02", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov_02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov_02", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } @@ -8522,9 +8247,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Loc" + - "alita_01, Prov_01, Indir_02, Cap_02, Localita_02, Prov_02, Note FROM dbo.AnagCli" + - "enti"; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagClienti"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; @@ -8608,148 +8331,91 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete( - string Original_CodCliente, - string Original_Cognome, - string Original_Nome, - string Original_CodFis, - string Original_Tel, - string Original_Cell, - string Original_Email, - string Original_Indir_01, - string Original_Cap_01, - string Original_Localita_01, - string Original_Prov_01, - string Original_Indir_02, - string Original_Cap_02, - string Original_Localita_02, - string Original_Prov_02, - string Original_Note) { + public virtual int Delete(string Original_CodCliente, string Original_RagSoc, string Original_CodFis, string Original_Tel, string Original_Cell, bool Original_EnableSMS, string Original_Email, string Original_Indir, string Original_Cap, string Original_Localita, string Original_Prov, string Original_Note) { if ((Original_CodCliente == null)) { throw new global::System.ArgumentNullException("Original_CodCliente"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCliente)); } - if ((Original_Cognome == null)) { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + if ((Original_RagSoc == null)) { + throw new global::System.ArgumentNullException("Original_RagSoc"); } else { - this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Cognome)); - } - if ((Original_Nome == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Nome)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_RagSoc)); } if ((Original_CodFis == null)) { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; } else { - this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodFis)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodFis)); } if ((Original_Tel == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; } else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Tel)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Tel)); } if ((Original_Cell == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Cell)); + } + this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_EnableSMS)); + if ((Original_Email == null)) { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Cell)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Email)); } - if ((Original_Email == null)) { + if ((Original_Indir == null)) { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Email)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Indir)); } - if ((Original_Indir_01 == null)) { + if ((Original_Cap == null)) { this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Indir_01)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Cap)); } - if ((Original_Cap_01 == null)) { + if ((Original_Localita == null)) { this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_Cap_01)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_Localita)); } - if ((Original_Localita_01 == null)) { + if ((Original_Prov == null)) { this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_Localita_01)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_Prov)); } - if ((Original_Prov_01 == null)) { + if ((Original_Note == null)) { this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Prov_01)); - } - if ((Original_Indir_02 == null)) { - this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_Indir_02)); - } - if ((Original_Cap_02 == null)) { - this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_Cap_02)); - } - if ((Original_Localita_02 == null)) { - this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_Localita_02)); - } - if ((Original_Prov_02 == null)) { - this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_Prov_02)); - } - if ((Original_Note == null)) { - this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_Note)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Note)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) @@ -8771,118 +8437,73 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert( - string CodCliente, - string Cognome, - string Nome, - string CodFis, - string Tel, - string Cell, - string Email, - string Indir_01, - string Cap_01, - string Localita_01, - string Prov_01, - string Indir_02, - string Cap_02, - string Localita_02, - string Prov_02, - string Note) { + public virtual int Insert(string CodCliente, string RagSoc, string CodFis, string Tel, string Cell, bool EnableSMS, string Email, string Indir, string Cap, string Localita, string Prov, string Note) { if ((CodCliente == null)) { throw new global::System.ArgumentNullException("CodCliente"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCliente)); } - if ((Cognome == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + if ((RagSoc == null)) { + throw new global::System.ArgumentNullException("RagSoc"); } else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Cognome)); + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(RagSoc)); } - if ((Nome == null)) { + if ((CodFis == null)) { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Nome)); + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodFis)); } - if ((CodFis == null)) { + if ((Tel == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodFis)); + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Tel)); } - if ((Tel == null)) { + if ((Cell == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Tel)); - } - if ((Cell == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Cell)); + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Cell)); } + this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(EnableSMS)); if ((Email == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Email)); } - if ((Indir_01 == null)) { + if ((Indir == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Indir_01)); + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Indir)); } - if ((Cap_01 == null)) { + if ((Cap == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Cap_01)); + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Cap)); } - if ((Localita_01 == null)) { + if ((Localita == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Localita_01)); + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Localita)); } - if ((Prov_01 == null)) { + if ((Prov == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Prov_01)); + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Prov)); } - if ((Indir_02 == null)) { + if ((Note == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { - this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Indir_02)); - } - if ((Cap_02 == null)) { - this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Cap_02)); - } - if ((Localita_02 == null)) { - this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[13].Value = ((string)(Localita_02)); - } - if ((Prov_02 == null)) { - this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[14].Value = ((string)(Prov_02)); - } - if ((Note == null)) { - this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[15].Value = ((string)(Note)); + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Note)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) @@ -8906,36 +8527,28 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( string CodCliente, - string Cognome, - string Nome, + string RagSoc, string CodFis, string Tel, string Cell, + bool EnableSMS, string Email, - string Indir_01, - string Cap_01, - string Localita_01, - string Prov_01, - string Indir_02, - string Cap_02, - string Localita_02, - string Prov_02, + string Indir, + string Cap, + string Localita, + string Prov, string Note, string Original_CodCliente, - string Original_Cognome, - string Original_Nome, + string Original_RagSoc, string Original_CodFis, string Original_Tel, string Original_Cell, + bool Original_EnableSMS, string Original_Email, - string Original_Indir_01, - string Original_Cap_01, - string Original_Localita_01, - string Original_Prov_01, - string Original_Indir_02, - string Original_Cap_02, - string Original_Localita_02, - string Original_Prov_02, + string Original_Indir, + string Original_Cap, + string Original_Localita, + string Original_Prov, string Original_Note) { if ((CodCliente == null)) { throw new global::System.ArgumentNullException("CodCliente"); @@ -8943,221 +8556,151 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCliente)); } - if ((Cognome == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + if ((RagSoc == null)) { + throw new global::System.ArgumentNullException("RagSoc"); } else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Cognome)); + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(RagSoc)); } - if ((Nome == null)) { + if ((CodFis == null)) { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Nome)); + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodFis)); } - if ((CodFis == null)) { + if ((Tel == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodFis)); + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Tel)); } - if ((Tel == null)) { + if ((Cell == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Tel)); - } - if ((Cell == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Cell)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Cell)); } + this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(EnableSMS)); if ((Email == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Email)); } - if ((Indir_01 == null)) { + if ((Indir == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Indir_01)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Indir)); } - if ((Cap_01 == null)) { + if ((Cap == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Cap_01)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Cap)); } - if ((Localita_01 == null)) { + if ((Localita == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Localita_01)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Localita)); } - if ((Prov_01 == null)) { + if ((Prov == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Prov_01)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Prov)); } - if ((Indir_02 == null)) { + if ((Note == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Indir_02)); - } - if ((Cap_02 == null)) { - this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Cap_02)); - } - if ((Localita_02 == null)) { - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Localita_02)); - } - if ((Prov_02 == null)) { - this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Prov_02)); - } - if ((Note == null)) { - this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Note)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Note)); } if ((Original_CodCliente == null)) { throw new global::System.ArgumentNullException("Original_CodCliente"); } else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodCliente)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodCliente)); } - if ((Original_Cognome == null)) { - this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + if ((Original_RagSoc == null)) { + throw new global::System.ArgumentNullException("Original_RagSoc"); } else { - this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_Cognome)); - } - if ((Original_Nome == null)) { - this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_Nome)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_RagSoc)); } if ((Original_CodFis == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CodFis)); + } + if ((Original_Tel == null)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_Tel)); + } + if ((Original_Cell == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Cell)); + } + this.Adapter.UpdateCommand.Parameters[20].Value = ((bool)(Original_EnableSMS)); + if ((Original_Email == null)) { this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CodFis)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Email)); } - if ((Original_Tel == null)) { + if ((Original_Indir == null)) { this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Tel)); + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Indir)); } - if ((Original_Cell == null)) { + if ((Original_Cap == null)) { this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Cell)); + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Cap)); } - if ((Original_Email == null)) { + if ((Original_Localita == null)) { this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Email)); + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Localita)); } - if ((Original_Indir_01 == null)) { + if ((Original_Prov == null)) { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_Indir_01)); + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_Prov)); } - if ((Original_Cap_01 == null)) { + if ((Original_Note == null)) { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_Cap_01)); - } - if ((Original_Localita_01 == null)) { - this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_Localita_01)); - } - if ((Original_Prov_01 == null)) { - this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_Prov_01)); - } - if ((Original_Indir_02 == null)) { - this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_Indir_02)); - } - if ((Original_Cap_02 == null)) { - this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Cap_02)); - } - if ((Original_Localita_02 == null)) { - this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_Localita_02)); - } - if ((Original_Prov_02 == null)) { - this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_Prov_02)); - } - if ((Original_Note == null)) { - this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_Note)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_Note)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) @@ -9180,38 +8723,30 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - string Cognome, - string Nome, + string RagSoc, string CodFis, string Tel, string Cell, + bool EnableSMS, string Email, - string Indir_01, - string Cap_01, - string Localita_01, - string Prov_01, - string Indir_02, - string Cap_02, - string Localita_02, - string Prov_02, + string Indir, + string Cap, + string Localita, + string Prov, string Note, string Original_CodCliente, - string Original_Cognome, - string Original_Nome, + string Original_RagSoc, string Original_CodFis, string Original_Tel, string Original_Cell, + bool Original_EnableSMS, string Original_Email, - string Original_Indir_01, - string Original_Cap_01, - string Original_Localita_01, - string Original_Prov_01, - string Original_Indir_02, - string Original_Cap_02, - string Original_Localita_02, - string Original_Prov_02, + string Original_Indir, + string Original_Cap, + string Original_Localita, + string Original_Prov, string Original_Note) { - return this.Update(Original_CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Localita_01, Prov_01, Indir_02, Cap_02, Localita_02, Prov_02, Note, Original_CodCliente, Original_Cognome, Original_Nome, Original_CodFis, Original_Tel, Original_Cell, Original_Email, Original_Indir_01, Original_Cap_01, Original_Localita_01, Original_Prov_01, Original_Indir_02, Original_Cap_02, Original_Localita_02, Original_Prov_02, Original_Note); + return this.Update(Original_CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note, Original_CodCliente, Original_RagSoc, Original_CodFis, Original_Tel, Original_Cell, Original_EnableSMS, Original_Email, Original_Indir, Original_Cap, Original_Localita, Original_Prov, Original_Note); } } diff --git a/WebSCR_data/DS_Applicazione.xsd b/WebSCR_data/DS_Applicazione.xsd index aca4714..d887114 100644 --- a/WebSCR_data/DS_Applicazione.xsd +++ b/WebSCR_data/DS_Applicazione.xsd @@ -355,37 +355,27 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO - DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir_01 = 1 AND [Indir_01] IS NULL) OR ([Indir_01] = @Original_Indir_01)) AND ((@IsNull_Cap_01 = 1 AND [Cap_01] IS NULL) OR ([Cap_01] = @Original_Cap_01)) AND ((@IsNull_Localita_01 = 1 AND [Localita_01] IS NULL) OR ([Localita_01] = @Original_Localita_01)) AND ((@IsNull_Prov_01 = 1 AND [Prov_01] IS NULL) OR ([Prov_01] = @Original_Prov_01)) AND ((@IsNull_Indir_02 = 1 AND [Indir_02] IS NULL) OR ([Indir_02] = @Original_Indir_02)) AND ((@IsNull_Cap_02 = 1 AND [Cap_02] IS NULL) OR ([Cap_02] = @Original_Cap_02)) AND ((@IsNull_Localita_02 = 1 AND [Localita_02] IS NULL) OR ([Localita_02] = @Original_Localita_02)) AND ((@IsNull_Prov_02 = 1 AND [Prov_02] IS NULL) OR ([Prov_02] = @Original_Prov_02)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))) + DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))) - - - - + + - - - - - - - - - - - - - - - - + + + + + + + + @@ -393,84 +383,66 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO - INSERT INTO [dbo].[AnagClienti] ([CodCliente], [Cognome], [Nome], [CodFis], [Tel], [Cell], [Email], [Indir_01], [Cap_01], [Localita_01], [Prov_01], [Indir_02], [Cap_02], [Localita_02], [Prov_02], [Note]) VALUES (@CodCliente, @Cognome, @Nome, @CodFis, @Tel, @Cell, @Email, @Indir_01, @Cap_01, @Localita_01, @Prov_01, @Indir_02, @Cap_02, @Localita_02, @Prov_02, @Note); -SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Localita_01, Prov_01, Indir_02, Cap_02, Localita_02, Prov_02, Note FROM AnagClienti WHERE (CodCliente = @CodCliente) + INSERT INTO [dbo].[AnagClienti] ([CodCliente], [RagSoc], [CodFis], [Tel], [Cell], [EnableSMS], [Email], [Indir], [Cap], [Localita], [Prov], [Note]) VALUES (@CodCliente, @RagSoc, @CodFis, @Tel, @Cell, @EnableSMS, @Email, @Indir, @Cap, @Localita, @Prov, @Note); +SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente) - - + + - - - - - - - - + + + + - - SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Localita_01, Prov_01, Indir_02, Cap_02, Localita_02, Prov_02, Note FROM dbo.AnagClienti + + SELECT * FROM dbo.AnagClienti - UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [Cognome] = @Cognome, [Nome] = @Nome, [CodFis] = @CodFis, [Tel] = @Tel, [Cell] = @Cell, [Email] = @Email, [Indir_01] = @Indir_01, [Cap_01] = @Cap_01, [Localita_01] = @Localita_01, [Prov_01] = @Prov_01, [Indir_02] = @Indir_02, [Cap_02] = @Cap_02, [Localita_02] = @Localita_02, [Prov_02] = @Prov_02, [Note] = @Note WHERE (([CodCliente] = @Original_CodCliente) AND ((@IsNull_Cognome = 1 AND [Cognome] IS NULL) OR ([Cognome] = @Original_Cognome)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir_01 = 1 AND [Indir_01] IS NULL) OR ([Indir_01] = @Original_Indir_01)) AND ((@IsNull_Cap_01 = 1 AND [Cap_01] IS NULL) OR ([Cap_01] = @Original_Cap_01)) AND ((@IsNull_Localita_01 = 1 AND [Localita_01] IS NULL) OR ([Localita_01] = @Original_Localita_01)) AND ((@IsNull_Prov_01 = 1 AND [Prov_01] IS NULL) OR ([Prov_01] = @Original_Prov_01)) AND ((@IsNull_Indir_02 = 1 AND [Indir_02] IS NULL) OR ([Indir_02] = @Original_Indir_02)) AND ((@IsNull_Cap_02 = 1 AND [Cap_02] IS NULL) OR ([Cap_02] = @Original_Cap_02)) AND ((@IsNull_Localita_02 = 1 AND [Localita_02] IS NULL) OR ([Localita_02] = @Original_Localita_02)) AND ((@IsNull_Prov_02 = 1 AND [Prov_02] IS NULL) OR ([Prov_02] = @Original_Prov_02)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); -SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Localita_01, Prov_01, Indir_02, Cap_02, Localita_02, Prov_02, Note FROM AnagClienti WHERE (CodCliente = @CodCliente) + UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSoc] = @RagSoc, [CodFis] = @CodFis, [Tel] = @Tel, [Cell] = @Cell, [EnableSMS] = @EnableSMS, [Email] = @Email, [Indir] = @Indir, [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Note] = @Note WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); +SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente) - - + + - - - - - - - - + + + + - - - - + + - - - - - - - - - - - - - - - - + + + + + + + + @@ -480,21 +452,17 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo - - - - - - - - - - + + + + + + @@ -810,7 +778,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + dbo.stp_DettImp_delete @@ -845,7 +813,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + dbo.stp_DettImp_insert @@ -881,7 +849,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -905,7 +873,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -941,7 +909,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -966,7 +934,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -976,20 +944,6 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - - - - - - - - - - - - - - @@ -1018,62 +972,6 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1081,10 +979,46 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1209,7 +1143,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1219,7 +1153,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1235,7 +1169,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1265,7 +1199,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1282,7 +1216,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1361,7 +1295,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + \ No newline at end of file diff --git a/WebSCR_data/DS_Applicazione.xss b/WebSCR_data/DS_Applicazione.xss index 489eb46..31d2782 100644 --- a/WebSCR_data/DS_Applicazione.xss +++ b/WebSCR_data/DS_Applicazione.xss @@ -6,31 +6,27 @@ --> - + - - - - - - - + + + + + + + - + - 745 - 676 + 807 + 670 - 745 - 725 - - - 784 - 725 + 807 + 708 diff --git a/WebSCR_data/bin/Debug/SteamWare.dll b/WebSCR_data/bin/Debug/SteamWare.dll index 6555fcf..94c5e25 100644 Binary files a/WebSCR_data/bin/Debug/SteamWare.dll and b/WebSCR_data/bin/Debug/SteamWare.dll differ diff --git a/WebSCR_data/bin/Debug/WebSCR_data.dll b/WebSCR_data/bin/Debug/WebSCR_data.dll index 9c57b3b..0453596 100644 Binary files a/WebSCR_data/bin/Debug/WebSCR_data.dll and b/WebSCR_data/bin/Debug/WebSCR_data.dll differ diff --git a/WebSCR_data/bin/Release/SteamWare.dll b/WebSCR_data/bin/Release/SteamWare.dll index 75a5b16..c1df1eb 100644 Binary files a/WebSCR_data/bin/Release/SteamWare.dll and b/WebSCR_data/bin/Release/SteamWare.dll differ diff --git a/WebSCR_data/bin/Release/WebSCR_data.dll b/WebSCR_data/bin/Release/WebSCR_data.dll index df8c0bd..bc76f04 100644 Binary files a/WebSCR_data/bin/Release/WebSCR_data.dll and b/WebSCR_data/bin/Release/WebSCR_data.dll differ diff --git a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache index 3a3e30c..7d4ec16 100644 Binary files a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache differ diff --git a/WebSCR_data/obj/Debug/WebSCR_data.dll b/WebSCR_data/obj/Debug/WebSCR_data.dll index 9c57b3b..0453596 100644 Binary files a/WebSCR_data/obj/Debug/WebSCR_data.dll and b/WebSCR_data/obj/Debug/WebSCR_data.dll differ diff --git a/WebSCR_data/obj/Debug/build.force b/WebSCR_data/obj/Debug/build.force new file mode 100644 index 0000000..e69de29 diff --git a/WebSCR_data/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/WebSCR_data/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache index e997348..5572f6c 100644 Binary files a/WebSCR_data/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/WebSCR_data/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll index 4767c3f..c3ca5a0 100644 Binary files a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache index 9bdc352..0d26a6b 100644 Binary files a/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache differ diff --git a/WebSCR_data/obj/Release/WebSCR_data.dll b/WebSCR_data/obj/Release/WebSCR_data.dll index df8c0bd..bc76f04 100644 Binary files a/WebSCR_data/obj/Release/WebSCR_data.dll and b/WebSCR_data/obj/Release/WebSCR_data.dll differ