diff --git a/GMW-RT/bin/GMW-RT.dll b/GMW-RT/bin/GMW-RT.dll index d5b39990..9486bdb2 100644 Binary files a/GMW-RT/bin/GMW-RT.dll and b/GMW-RT/bin/GMW-RT.dll differ diff --git a/GMW-RT/bin/GMW_data.dll b/GMW-RT/bin/GMW_data.dll index b360ffc1..639a6e68 100644 Binary files a/GMW-RT/bin/GMW_data.dll and b/GMW-RT/bin/GMW_data.dll differ diff --git a/GMW-RT/bin/SteamWare.dll b/GMW-RT/bin/SteamWare.dll index cabbce11..b5089985 100644 Binary files a/GMW-RT/bin/SteamWare.dll and b/GMW-RT/bin/SteamWare.dll differ diff --git a/GMW-UT/bin/GMW-UT.dll b/GMW-UT/bin/GMW-UT.dll index 284e958d..cf9ec142 100644 Binary files a/GMW-UT/bin/GMW-UT.dll and b/GMW-UT/bin/GMW-UT.dll differ diff --git a/GMW-UT/bin/GMW_data.dll b/GMW-UT/bin/GMW_data.dll index b360ffc1..639a6e68 100644 Binary files a/GMW-UT/bin/GMW_data.dll and b/GMW-UT/bin/GMW_data.dll differ diff --git a/GMW-UT/bin/SteamWare.dll b/GMW-UT/bin/SteamWare.dll index cabbce11..b5089985 100644 Binary files a/GMW-UT/bin/SteamWare.dll and b/GMW-UT/bin/SteamWare.dll differ diff --git a/GMW/AnagFormatiDtx.aspx b/GMW/AnagFormatiDtx.aspx index 9b51be80..b7f894ec 100644 --- a/GMW/AnagFormatiDtx.aspx +++ b/GMW/AnagFormatiDtx.aspx @@ -2,6 +2,8 @@ <%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc1" TagName="mod_ricercaGenerica" %> <%@ Register Src="~/WebUserControls/mod_anagFormatiDtx.ascx" TagPrefix="uc1" TagName="mod_anagFormatiDtx" %> +<%@ Register Src="~/WebUserControls/mod_specDmtx.ascx" TagPrefix="uc1" TagName="mod_specDmtx" %> + @@ -10,7 +12,25 @@ - - + + + + + + <%-- + <%: traduci("RiconoscimentoDmtx") %> + <%: traduci("ElencoEsempiDmtx") %> + + + --%> + <%: traduci("DettSpecFormato") %> + + <%-- + + Menu 1 + Some content in menu 1. + + --%> + diff --git a/GMW/AnagFormatiDtx.aspx.cs b/GMW/AnagFormatiDtx.aspx.cs index a6463d85..4093fd77 100644 --- a/GMW/AnagFormatiDtx.aspx.cs +++ b/GMW/AnagFormatiDtx.aspx.cs @@ -4,14 +4,41 @@ using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; +using SteamWare; namespace GMW { - public partial class AnagFormatiDtx : System.Web.UI.Page + public partial class AnagFormatiDtx : UserPage { protected void Page_Load(object sender, EventArgs e) { + mod_anagFormatiDtx.eh_ucev += Mod_anagFormatiDtx_eh_ucev; + } + private void Mod_anagFormatiDtx_eh_ucev(object sender, EventArgs e) + { + // se trovo evento select/reset mostro/nascondo dettagli... + ucEvent evento = (ucEvent)e; + switch (evento.tipoEvento) + { + case ucEvType.Delete: + break; + case ucEvType.Edit: + break; + case ucEvType.New: + break; + case ucEvType.Reset: + divDetail.Visible = false; + break; + case ucEvType.ReqUpdateParent: + break; + case ucEvType.Selected: + mod_specDmtx.FormatoDtmx = mod_anagFormatiDtx.FormatoDtmxSel; + divDetail.Visible = true; + break; + default: + break; + } } } } \ No newline at end of file diff --git a/GMW/AnagFormatiDtx.aspx.designer.cs b/GMW/AnagFormatiDtx.aspx.designer.cs index 16f90377..08062832 100644 --- a/GMW/AnagFormatiDtx.aspx.designer.cs +++ b/GMW/AnagFormatiDtx.aspx.designer.cs @@ -29,5 +29,23 @@ namespace GMW { /// To modify move field declaration from designer file to code-behind file. /// protected global::GMW.WebUserControls.mod_anagFormatiDtx mod_anagFormatiDtx; + + /// + /// divDetail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDetail; + + /// + /// mod_specDmtx control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_specDmtx mod_specDmtx; } } diff --git a/GMW/GMW.csproj b/GMW/GMW.csproj index a49f5283..4ba38ecc 100644 --- a/GMW/GMW.csproj +++ b/GMW/GMW.csproj @@ -539,6 +539,7 @@ + @@ -1946,6 +1947,13 @@ mod_setAttrDtx.ascx + + mod_specDmtx.ascx + ASPXCodeBehind + + + mod_specDmtx.ascx + mod_spostaDataMatrix.ascx ASPXCodeBehind diff --git a/GMW/WebUserControls/mod_anagFormatiDtx.ascx b/GMW/WebUserControls/mod_anagFormatiDtx.ascx index b1cf55f8..55f53615 100644 --- a/GMW/WebUserControls/mod_anagFormatiDtx.ascx +++ b/GMW/WebUserControls/mod_anagFormatiDtx.ascx @@ -4,15 +4,11 @@ { %> <% } %> - - - - - - - - - + + + + + Nessun Record <%-- - + - - + + + + @@ -148,18 +146,6 @@ - <%-- - - - - - - - - - - - --%> <%----%> @@ -184,6 +170,3 @@ - - -...su selezione deve mostrare le tabelle "dipendenti"... riconoscimento e decodifica... con tabPanel... \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anagFormatiDtx.ascx.cs b/GMW/WebUserControls/mod_anagFormatiDtx.ascx.cs index 7eb4c7f4..d7301d08 100644 --- a/GMW/WebUserControls/mod_anagFormatiDtx.ascx.cs +++ b/GMW/WebUserControls/mod_anagFormatiDtx.ascx.cs @@ -26,6 +26,7 @@ namespace GMW.WebUserControls { grView.SelectedIndex = -1; grView.DataBind(); + raiseEvent(ucEvType.Reset); } /// /// inserisce nuovo valore da footer @@ -140,5 +141,25 @@ namespace GMW.WebUserControls tipoColonna = ""; } } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + raiseEvent(ucEvType.Selected); + } + + public string FormatoDtmxSel + { + get + { + string answ = ""; + try + { + answ = grView.SelectedValue.ToString(); + } + catch + { } + return answ; + } + } } } \ No newline at end of file diff --git a/GMW/WebUserControls/mod_specDmtx.ascx b/GMW/WebUserControls/mod_specDmtx.ascx new file mode 100644 index 00000000..4b816169 --- /dev/null +++ b/GMW/WebUserControls/mod_specDmtx.ascx @@ -0,0 +1,63 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_specDmtx.ascx.cs" Inherits="GMW.WebUserControls.mod_specDmtx" %> +<% if (false) + { %> + +<% } %> + + + + + + + Nessun Record + <%----%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_specDmtx.ascx.cs b/GMW/WebUserControls/mod_specDmtx.ascx.cs new file mode 100644 index 00000000..aaa51441 --- /dev/null +++ b/GMW/WebUserControls/mod_specDmtx.ascx.cs @@ -0,0 +1,163 @@ +using System; +using System.Web.UI.WebControls; +using SteamWare; +using System.Data; +using GMW_data; + + +namespace GMW.WebUserControls +{ + public partial class mod_specDmtx : ApplicationUserControl + { + + + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + raiseEvent(ucEvType.Reset); + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + } + /// + /// gestione evento richiesta nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + } + /// + /// determina se sia eliminabile il record (=non usato) + /// + /// + /// + public bool delEnabled(object idxObj) + { + bool answ = isWritable(); +#if false + // solo se ha diritti scrittura controllo + if (answ) + { + int trovati = 0; + // controllo se ci siano celle associate + trovati = MagClass.magazzino.taSAO.getLastByPost(DateTime.Now.AddYears(-memLayer.ML.confReadInt("defaultYearSAO")), DateTime.Now.AddDays(1), idxObj.ToString()).Rows.Count; + // controllo se ci sono record correlati... + if (trovati > 0) + { + answ = false; + } + } +#endif // false + return answ; + } + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.ElencoPostazioniDataTable tabella = new DS_magazzino.ElencoPostazioniDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono essere opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + raiseEvent(ucEvType.Selected); + } + + public string FormatoDtmx + { + get + { + return hfFormatoDtmx.Value; + } + set + { + hfFormatoDtmx.Value = value; + } + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_specDmtx.ascx.designer.cs b/GMW/WebUserControls/mod_specDmtx.ascx.designer.cs new file mode 100644 index 00000000..9985d83a --- /dev/null +++ b/GMW/WebUserControls/mod_specDmtx.ascx.designer.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_specDmtx { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// hfFormatoDtmx control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfFormatoDtmx; + } +} diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index 174ce720..bf998b33 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll index b360ffc1..639a6e68 100644 Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll index cabbce11..b5089985 100644 Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ diff --git a/GMW_data/DS_DataMatrix.Designer.cs b/GMW_data/DS_DataMatrix.Designer.cs index 265b6c42..bf7ab332 100644 --- a/GMW_data/DS_DataMatrix.Designer.cs +++ b/GMW_data/DS_DataMatrix.Designer.cs @@ -56,6 +56,14 @@ namespace GMW_data { private v_ElencoDmtxDataTable tablev_ElencoDmtx; + private AnagSpecDtxDataTable tableAnagSpecDtx; + + private TabSpecDtxDataTable tableTabSpecDtx; + + private global::System.Data.DataRelation relationFK_TabSpecDtx_AnagFormatiDtmx; + + private global::System.Data.DataRelation relationFK_TabSpecDtx_AnagSpecDtx; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -132,6 +140,12 @@ namespace GMW_data { if ((ds.Tables["v_ElencoDmtx"] != null)) { base.Tables.Add(new v_ElencoDmtxDataTable(ds.Tables["v_ElencoDmtx"])); } + if ((ds.Tables["AnagSpecDtx"] != null)) { + base.Tables.Add(new AnagSpecDtxDataTable(ds.Tables["AnagSpecDtx"])); + } + if ((ds.Tables["TabSpecDtx"] != null)) { + base.Tables.Add(new TabSpecDtxDataTable(ds.Tables["TabSpecDtx"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -310,6 +324,26 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagSpecDtxDataTable AnagSpecDtx { + get { + return this.tableAnagSpecDtx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TabSpecDtxDataTable TabSpecDtx { + get { + return this.tableTabSpecDtx; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -425,6 +459,12 @@ namespace GMW_data { if ((ds.Tables["v_ElencoDmtx"] != null)) { base.Tables.Add(new v_ElencoDmtxDataTable(ds.Tables["v_ElencoDmtx"])); } + if ((ds.Tables["AnagSpecDtx"] != null)) { + base.Tables.Add(new AnagSpecDtxDataTable(ds.Tables["AnagSpecDtx"])); + } + if ((ds.Tables["TabSpecDtx"] != null)) { + base.Tables.Add(new TabSpecDtxDataTable(ds.Tables["TabSpecDtx"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -554,6 +594,20 @@ namespace GMW_data { this.tablev_ElencoDmtx.InitVars(); } } + this.tableAnagSpecDtx = ((AnagSpecDtxDataTable)(base.Tables["AnagSpecDtx"])); + if ((initTable == true)) { + if ((this.tableAnagSpecDtx != null)) { + this.tableAnagSpecDtx.InitVars(); + } + } + this.tableTabSpecDtx = ((TabSpecDtxDataTable)(base.Tables["TabSpecDtx"])); + if ((initTable == true)) { + if ((this.tableTabSpecDtx != null)) { + this.tableTabSpecDtx.InitVars(); + } + } + this.relationFK_TabSpecDtx_AnagFormatiDtmx = this.Relations["FK_TabSpecDtx_AnagFormatiDtmx"]; + this.relationFK_TabSpecDtx_AnagSpecDtx = this.Relations["FK_TabSpecDtx_AnagSpecDtx"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -596,6 +650,18 @@ namespace GMW_data { base.Tables.Add(this.tableDmtx_ByAttr); this.tablev_ElencoDmtx = new v_ElencoDmtxDataTable(); base.Tables.Add(this.tablev_ElencoDmtx); + this.tableAnagSpecDtx = new AnagSpecDtxDataTable(); + base.Tables.Add(this.tableAnagSpecDtx); + this.tableTabSpecDtx = new TabSpecDtxDataTable(); + base.Tables.Add(this.tableTabSpecDtx); + this.relationFK_TabSpecDtx_AnagFormatiDtmx = new global::System.Data.DataRelation("FK_TabSpecDtx_AnagFormatiDtmx", new global::System.Data.DataColumn[] { + this.tableAnagFormatiDtmx.FormatoDtmxColumn}, new global::System.Data.DataColumn[] { + this.tableTabSpecDtx.FormatoDtmxColumn}, false); + this.Relations.Add(this.relationFK_TabSpecDtx_AnagFormatiDtmx); + this.relationFK_TabSpecDtx_AnagSpecDtx = new global::System.Data.DataRelation("FK_TabSpecDtx_AnagSpecDtx", new global::System.Data.DataColumn[] { + this.tableAnagSpecDtx.CodSpecColumn}, new global::System.Data.DataColumn[] { + this.tableTabSpecDtx.CodSpecColumn}, false); + this.Relations.Add(this.relationFK_TabSpecDtx_AnagSpecDtx); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -694,6 +760,18 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagSpecDtx() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTabSpecDtx() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -797,6 +875,12 @@ namespace GMW_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void v_ElencoDmtxRowChangeEventHandler(object sender, v_ElencoDmtxRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagSpecDtxRowChangeEventHandler(object sender, AnagSpecDtxRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TabSpecDtxRowChangeEventHandler(object sender, TabSpecDtxRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -6006,6 +6090,656 @@ namespace GMW_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagSpecDtxDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodSpec; + + private global::System.Data.DataColumn columnDescrizione; + + private global::System.Data.DataColumn columnTipo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxDataTable() { + this.TableName = "AnagSpecDtx"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagSpecDtxDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagSpecDtxDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSpecColumn { + get { + return this.columnCodSpec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrizioneColumn { + get { + return this.columnDescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TipoColumn { + get { + return this.columnTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRow this[int index] { + get { + return ((AnagSpecDtxRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagSpecDtxRowChangeEventHandler AnagSpecDtxRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagSpecDtxRowChangeEventHandler AnagSpecDtxRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagSpecDtxRowChangeEventHandler AnagSpecDtxRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagSpecDtxRowChangeEventHandler AnagSpecDtxRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagSpecDtxRow(AnagSpecDtxRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRow AddAnagSpecDtxRow(string CodSpec, string Descrizione, string Tipo) { + AnagSpecDtxRow rowAnagSpecDtxRow = ((AnagSpecDtxRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodSpec, + Descrizione, + Tipo}; + rowAnagSpecDtxRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagSpecDtxRow); + return rowAnagSpecDtxRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRow FindByCodSpec(string CodSpec) { + return ((AnagSpecDtxRow)(this.Rows.Find(new object[] { + CodSpec}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagSpecDtxDataTable cln = ((AnagSpecDtxDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagSpecDtxDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodSpec = base.Columns["CodSpec"]; + this.columnDescrizione = base.Columns["Descrizione"]; + this.columnTipo = base.Columns["Tipo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodSpec = new global::System.Data.DataColumn("CodSpec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSpec); + this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrizione); + this.columnTipo = new global::System.Data.DataColumn("Tipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTipo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodSpec}, true)); + this.columnCodSpec.AllowDBNull = false; + this.columnCodSpec.Unique = true; + this.columnCodSpec.MaxLength = 50; + this.columnDescrizione.AllowDBNull = false; + this.columnDescrizione.MaxLength = 50; + this.columnTipo.AllowDBNull = false; + this.columnTipo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRow NewAnagSpecDtxRow() { + return ((AnagSpecDtxRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagSpecDtxRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagSpecDtxRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagSpecDtxRowChanged != null)) { + this.AnagSpecDtxRowChanged(this, new AnagSpecDtxRowChangeEvent(((AnagSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagSpecDtxRowChanging != null)) { + this.AnagSpecDtxRowChanging(this, new AnagSpecDtxRowChangeEvent(((AnagSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagSpecDtxRowDeleted != null)) { + this.AnagSpecDtxRowDeleted(this, new AnagSpecDtxRowChangeEvent(((AnagSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagSpecDtxRowDeleting != null)) { + this.AnagSpecDtxRowDeleting(this, new AnagSpecDtxRowChangeEvent(((AnagSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagSpecDtxRow(AnagSpecDtxRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_DataMatrix ds = new DS_DataMatrix(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagSpecDtxDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TabSpecDtxDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnFormatoDtmx; + + private global::System.Data.DataColumn columnCodSpec; + + private global::System.Data.DataColumn columnValoreStr; + + private global::System.Data.DataColumn columnValoreInt; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnPeso; + + private global::System.Data.DataColumn columnAttivo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxDataTable() { + this.TableName = "TabSpecDtx"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TabSpecDtxDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TabSpecDtxDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FormatoDtmxColumn { + get { + return this.columnFormatoDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSpecColumn { + get { + return this.columnCodSpec; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ValoreStrColumn { + get { + return this.columnValoreStr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ValoreIntColumn { + get { + return this.columnValoreInt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoColumn { + get { + return this.columnPeso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AttivoColumn { + get { + return this.columnAttivo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow this[int index] { + get { + return ((TabSpecDtxRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabSpecDtxRowChangeEventHandler TabSpecDtxRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabSpecDtxRowChangeEventHandler TabSpecDtxRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabSpecDtxRowChangeEventHandler TabSpecDtxRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabSpecDtxRowChangeEventHandler TabSpecDtxRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTabSpecDtxRow(TabSpecDtxRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow AddTabSpecDtxRow(AnagFormatiDtmxRow parentAnagFormatiDtmxRowByFK_TabSpecDtx_AnagFormatiDtmx, AnagSpecDtxRow parentAnagSpecDtxRowByFK_TabSpecDtx_AnagSpecDtx, string ValoreStr, int ValoreInt, string Note, int Peso, bool Attivo) { + TabSpecDtxRow rowTabSpecDtxRow = ((TabSpecDtxRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + ValoreStr, + ValoreInt, + Note, + Peso, + Attivo}; + if ((parentAnagFormatiDtmxRowByFK_TabSpecDtx_AnagFormatiDtmx != null)) { + columnValuesArray[0] = parentAnagFormatiDtmxRowByFK_TabSpecDtx_AnagFormatiDtmx[0]; + } + if ((parentAnagSpecDtxRowByFK_TabSpecDtx_AnagSpecDtx != null)) { + columnValuesArray[1] = parentAnagSpecDtxRowByFK_TabSpecDtx_AnagSpecDtx[0]; + } + rowTabSpecDtxRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTabSpecDtxRow); + return rowTabSpecDtxRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow FindByFormatoDtmxCodSpec(string FormatoDtmx, string CodSpec) { + return ((TabSpecDtxRow)(this.Rows.Find(new object[] { + FormatoDtmx, + CodSpec}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TabSpecDtxDataTable cln = ((TabSpecDtxDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TabSpecDtxDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnFormatoDtmx = base.Columns["FormatoDtmx"]; + this.columnCodSpec = base.Columns["CodSpec"]; + this.columnValoreStr = base.Columns["ValoreStr"]; + this.columnValoreInt = base.Columns["ValoreInt"]; + this.columnNote = base.Columns["Note"]; + this.columnPeso = base.Columns["Peso"]; + this.columnAttivo = base.Columns["Attivo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnFormatoDtmx = new global::System.Data.DataColumn("FormatoDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFormatoDtmx); + this.columnCodSpec = new global::System.Data.DataColumn("CodSpec", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSpec); + this.columnValoreStr = new global::System.Data.DataColumn("ValoreStr", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnValoreStr); + this.columnValoreInt = new global::System.Data.DataColumn("ValoreInt", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnValoreInt); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPeso); + this.columnAttivo = new global::System.Data.DataColumn("Attivo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAttivo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnFormatoDtmx, + this.columnCodSpec}, true)); + this.columnFormatoDtmx.AllowDBNull = false; + this.columnFormatoDtmx.MaxLength = 20; + this.columnCodSpec.AllowDBNull = false; + this.columnCodSpec.MaxLength = 50; + this.columnValoreStr.AllowDBNull = false; + this.columnValoreStr.MaxLength = 50; + this.columnValoreInt.AllowDBNull = false; + this.columnNote.AllowDBNull = false; + this.columnNote.MaxLength = 50; + this.columnPeso.AllowDBNull = false; + this.columnAttivo.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow NewTabSpecDtxRow() { + return ((TabSpecDtxRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TabSpecDtxRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TabSpecDtxRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TabSpecDtxRowChanged != null)) { + this.TabSpecDtxRowChanged(this, new TabSpecDtxRowChangeEvent(((TabSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TabSpecDtxRowChanging != null)) { + this.TabSpecDtxRowChanging(this, new TabSpecDtxRowChangeEvent(((TabSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TabSpecDtxRowDeleted != null)) { + this.TabSpecDtxRowDeleted(this, new TabSpecDtxRowChangeEvent(((TabSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TabSpecDtxRowDeleting != null)) { + this.TabSpecDtxRowDeleting(this, new TabSpecDtxRowChangeEvent(((TabSpecDtxRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTabSpecDtxRow(TabSpecDtxRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_DataMatrix ds = new DS_DataMatrix(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "TabSpecDtxDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -7591,6 +8325,17 @@ namespace GMW_data { public void SetLunghNull() { this[this.tableAnagFormatiDtmx.LunghColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow[] GetTabSpecDtxRows() { + if ((this.Table.ChildRelations["FK_TabSpecDtx_AnagFormatiDtmx"] == null)) { + return new TabSpecDtxRow[0]; + } + else { + return ((TabSpecDtxRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabSpecDtx_AnagFormatiDtmx"]))); + } + } } /// @@ -7911,6 +8656,179 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagSpecDtxRow : global::System.Data.DataRow { + + private AnagSpecDtxDataTable tableAnagSpecDtx; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagSpecDtxRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagSpecDtx = ((AnagSpecDtxDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSpec { + get { + return ((string)(this[this.tableAnagSpecDtx.CodSpecColumn])); + } + set { + this[this.tableAnagSpecDtx.CodSpecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Descrizione { + get { + return ((string)(this[this.tableAnagSpecDtx.DescrizioneColumn])); + } + set { + this[this.tableAnagSpecDtx.DescrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Tipo { + get { + return ((string)(this[this.tableAnagSpecDtx.TipoColumn])); + } + set { + this[this.tableAnagSpecDtx.TipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow[] GetTabSpecDtxRows() { + if ((this.Table.ChildRelations["FK_TabSpecDtx_AnagSpecDtx"] == null)) { + return new TabSpecDtxRow[0]; + } + else { + return ((TabSpecDtxRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabSpecDtx_AnagSpecDtx"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class TabSpecDtxRow : global::System.Data.DataRow { + + private TabSpecDtxDataTable tableTabSpecDtx; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TabSpecDtxRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTabSpecDtx = ((TabSpecDtxDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FormatoDtmx { + get { + return ((string)(this[this.tableTabSpecDtx.FormatoDtmxColumn])); + } + set { + this[this.tableTabSpecDtx.FormatoDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSpec { + get { + return ((string)(this[this.tableTabSpecDtx.CodSpecColumn])); + } + set { + this[this.tableTabSpecDtx.CodSpecColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ValoreStr { + get { + return ((string)(this[this.tableTabSpecDtx.ValoreStrColumn])); + } + set { + this[this.tableTabSpecDtx.ValoreStrColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int ValoreInt { + get { + return ((int)(this[this.tableTabSpecDtx.ValoreIntColumn])); + } + set { + this[this.tableTabSpecDtx.ValoreIntColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + return ((string)(this[this.tableTabSpecDtx.NoteColumn])); + } + set { + this[this.tableTabSpecDtx.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Peso { + get { + return ((int)(this[this.tableTabSpecDtx.PesoColumn])); + } + set { + this[this.tableTabSpecDtx.PesoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Attivo { + get { + return ((bool)(this[this.tableTabSpecDtx.AttivoColumn])); + } + set { + this[this.tableTabSpecDtx.AttivoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFormatiDtmxRow AnagFormatiDtmxRow { + get { + return ((AnagFormatiDtmxRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabSpecDtx_AnagFormatiDtmx"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TabSpecDtx_AnagFormatiDtmx"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRow AnagSpecDtxRow { + get { + return ((AnagSpecDtxRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabSpecDtx_AnagSpecDtx"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TabSpecDtx_AnagSpecDtx"]); + } + } + } + /// ///Row event argument class /// @@ -8454,6 +9372,74 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagSpecDtxRowChangeEvent : global::System.EventArgs { + + private AnagSpecDtxRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRowChangeEvent(AnagSpecDtxRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TabSpecDtxRowChangeEvent : global::System.EventArgs { + + private TabSpecDtxRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRowChangeEvent(TabSpecDtxRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_DataMatrixTableAdapters { @@ -13675,6 +14661,822 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagSpecDtxTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagSpecDtxTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "AnagSpecDtx"; + tableMapping.ColumnMappings.Add("CodSpec", "CodSpec"); + tableMapping.ColumnMappings.Add("Descrizione", "Descrizione"); + tableMapping.ColumnMappings.Add("Tipo", "Tipo"); + 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].[AnagSpecDtx] WHERE (([CodSpec] = @Original_CodSpec) AND ([Desc" + + "rizione] = @Original_Descrizione) AND ([Tipo] = @Original_Tipo))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", 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].[AnagSpecDtx] ([CodSpec], [Descrizione], [Tipo]) VALUES (@CodSp" + + "ec, @Descrizione, @Tipo);\r\nSELECT CodSpec, Descrizione, Tipo FROM AnagSpecDtx WH" + + "ERE (CodSpec = @CodSpec)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", 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].[AnagSpecDtx] SET [CodSpec] = @CodSpec, [Descrizione] = @Descrizione, [Tipo] = @Tipo WHERE (([CodSpec] = @Original_CodSpec) AND ([Descrizione] = @Original_Descrizione) AND ([Tipo] = @Original_Tipo)); +SELECT CodSpec, Descrizione, Tipo FROM AnagSpecDtx WHERE (CodSpec = @CodSpec)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tipo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tipo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodSpec, Descrizione, Tipo FROM dbo.AnagSpecDtx"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, true)] + public virtual int Fill(DS_DataMatrix.AnagSpecDtxDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, true)] + public virtual DS_DataMatrix.AnagSpecDtxDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_DataMatrix.AnagSpecDtxDataTable dataTable = new DS_DataMatrix.AnagSpecDtxDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix.AnagSpecDtxDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix dataSet) { + return this.Adapter.Update(dataSet, "AnagSpecDtx"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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_CodSpec, string Original_Descrizione, string Original_Tipo) { + if ((Original_CodSpec == null)) { + throw new global::System.ArgumentNullException("Original_CodSpec"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodSpec)); + } + if ((Original_Descrizione == null)) { + throw new global::System.ArgumentNullException("Original_Descrizione"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Descrizione)); + } + if ((Original_Tipo == null)) { + throw new global::System.ArgumentNullException("Original_Tipo"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Tipo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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 CodSpec, string Descrizione, string Tipo) { + if ((CodSpec == null)) { + throw new global::System.ArgumentNullException("CodSpec"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodSpec)); + } + if ((Descrizione == null)) { + throw new global::System.ArgumentNullException("Descrizione"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Descrizione)); + } + if ((Tipo == null)) { + throw new global::System.ArgumentNullException("Tipo"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Tipo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update(string CodSpec, string Descrizione, string Tipo, string Original_CodSpec, string Original_Descrizione, string Original_Tipo) { + if ((CodSpec == null)) { + throw new global::System.ArgumentNullException("CodSpec"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodSpec)); + } + if ((Descrizione == null)) { + throw new global::System.ArgumentNullException("Descrizione"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Descrizione)); + } + if ((Tipo == null)) { + throw new global::System.ArgumentNullException("Tipo"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Tipo)); + } + if ((Original_CodSpec == null)) { + throw new global::System.ArgumentNullException("Original_CodSpec"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodSpec)); + } + if ((Original_Descrizione == null)) { + throw new global::System.ArgumentNullException("Original_Descrizione"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Descrizione)); + } + if ((Original_Tipo == null)) { + throw new global::System.ArgumentNullException("Original_Tipo"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Tipo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update(string Descrizione, string Tipo, string Original_CodSpec, string Original_Descrizione, string Original_Tipo) { + return this.Update(Original_CodSpec, Descrizione, Tipo, Original_CodSpec, Original_Descrizione, Original_Tipo); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class TabSpecDtxTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabSpecDtxTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "TabSpecDtx"; + tableMapping.ColumnMappings.Add("FormatoDtmx", "FormatoDtmx"); + tableMapping.ColumnMappings.Add("CodSpec", "CodSpec"); + tableMapping.ColumnMappings.Add("ValoreStr", "ValoreStr"); + tableMapping.ColumnMappings.Add("ValoreInt", "ValoreInt"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("Peso", "Peso"); + tableMapping.ColumnMappings.Add("Attivo", "Attivo"); + 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].[TabSpecDtx] WHERE (([FormatoDtmx] = @Original_FormatoDtmx) AND ([CodSpec] = @Original_CodSpec) AND ([ValoreStr] = @Original_ValoreStr) AND ([ValoreInt] = @Original_ValoreInt) AND ([Note] = @Original_Note) AND ([Peso] = @Original_Peso) AND ([Attivo] = @Original_Attivo))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValoreStr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreStr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValoreInt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreInt", global::System.Data.DataRowVersion.Original, false, 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.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", 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].[TabSpecDtx] ([FormatoDtmx], [CodSpec], [ValoreStr], [ValoreInt], [Note], [Peso], [Attivo]) VALUES (@FormatoDtmx, @CodSpec, @ValoreStr, @ValoreInt, @Note, @Peso, @Attivo); +SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM TabSpecDtx WHERE (CodSpec = @CodSpec) AND (FormatoDtmx = @FormatoDtmx)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreStr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreStr", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreInt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreInt", 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.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", 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].[TabSpecDtx] SET [FormatoDtmx] = @FormatoDtmx, [CodSpec] = @CodSpec, [ValoreStr] = @ValoreStr, [ValoreInt] = @ValoreInt, [Note] = @Note, [Peso] = @Peso, [Attivo] = @Attivo WHERE (([FormatoDtmx] = @Original_FormatoDtmx) AND ([CodSpec] = @Original_CodSpec) AND ([ValoreStr] = @Original_ValoreStr) AND ([ValoreInt] = @Original_ValoreInt) AND ([Note] = @Original_Note) AND ([Peso] = @Original_Peso) AND ([Attivo] = @Original_Attivo)); +SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM TabSpecDtx WHERE (CodSpec = @CodSpec) AND (FormatoDtmx = @FormatoDtmx)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreStr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreStr", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreInt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreInt", 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("@Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSpec", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSpec", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValoreStr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreStr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValoreInt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreInt", global::System.Data.DataRowVersion.Original, false, 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, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + 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 FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM dbo.Ta" + + "bSpecDtx"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dmtx.stp_getSpecDmtxByTipo"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Fill, true)] + public virtual int Fill(DS_DataMatrix.TabSpecDtxDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, true)] + public virtual DS_DataMatrix.TabSpecDtxDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_DataMatrix.TabSpecDtxDataTable dataTable = new DS_DataMatrix.TabSpecDtxDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Select, false)] + public virtual DS_DataMatrix.TabSpecDtxDataTable getByFormatoDtmx(string FormatoDtmx) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((FormatoDtmx == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(FormatoDtmx)); + } + DS_DataMatrix.TabSpecDtxDataTable dataTable = new DS_DataMatrix.TabSpecDtxDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix.TabSpecDtxDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix dataSet) { + return this.Adapter.Update(dataSet, "TabSpecDtx"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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_FormatoDtmx, string Original_CodSpec, string Original_ValoreStr, int Original_ValoreInt, string Original_Note, int Original_Peso, bool Original_Attivo) { + if ((Original_FormatoDtmx == null)) { + throw new global::System.ArgumentNullException("Original_FormatoDtmx"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_FormatoDtmx)); + } + if ((Original_CodSpec == null)) { + throw new global::System.ArgumentNullException("Original_CodSpec"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodSpec)); + } + if ((Original_ValoreStr == null)) { + throw new global::System.ArgumentNullException("Original_ValoreStr"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_ValoreStr)); + } + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_ValoreInt)); + if ((Original_Note == null)) { + throw new global::System.ArgumentNullException("Original_Note"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Note)); + } + this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_Peso)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Attivo)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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 FormatoDtmx, string CodSpec, string ValoreStr, int ValoreInt, string Note, int Peso, bool Attivo) { + if ((FormatoDtmx == null)) { + throw new global::System.ArgumentNullException("FormatoDtmx"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(FormatoDtmx)); + } + if ((CodSpec == null)) { + throw new global::System.ArgumentNullException("CodSpec"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodSpec)); + } + if ((ValoreStr == null)) { + throw new global::System.ArgumentNullException("ValoreStr"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(ValoreStr)); + } + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(ValoreInt)); + if ((Note == null)) { + throw new global::System.ArgumentNullException("Note"); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Note)); + } + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(Peso)); + this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(Attivo)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update(string FormatoDtmx, string CodSpec, string ValoreStr, int ValoreInt, string Note, int Peso, bool Attivo, string Original_FormatoDtmx, string Original_CodSpec, string Original_ValoreStr, int Original_ValoreInt, string Original_Note, int Original_Peso, bool Original_Attivo) { + if ((FormatoDtmx == null)) { + throw new global::System.ArgumentNullException("FormatoDtmx"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(FormatoDtmx)); + } + if ((CodSpec == null)) { + throw new global::System.ArgumentNullException("CodSpec"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodSpec)); + } + if ((ValoreStr == null)) { + throw new global::System.ArgumentNullException("ValoreStr"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(ValoreStr)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(ValoreInt)); + if ((Note == null)) { + throw new global::System.ArgumentNullException("Note"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Note)); + } + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Peso)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(Attivo)); + if ((Original_FormatoDtmx == null)) { + throw new global::System.ArgumentNullException("Original_FormatoDtmx"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_FormatoDtmx)); + } + if ((Original_CodSpec == null)) { + throw new global::System.ArgumentNullException("Original_CodSpec"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodSpec)); + } + if ((Original_ValoreStr == null)) { + throw new global::System.ArgumentNullException("Original_ValoreStr"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_ValoreStr)); + } + this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_ValoreInt)); + if ((Original_Note == null)) { + throw new global::System.ArgumentNullException("Original_Note"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_Note)); + } + this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_Peso)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_Attivo)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.Update, true)] + public virtual int Update(string ValoreStr, int ValoreInt, string Note, int Peso, bool Attivo, string Original_FormatoDtmx, string Original_CodSpec, string Original_ValoreStr, int Original_ValoreInt, string Original_Note, int Original_Peso, bool Original_Attivo) { + return this.Update(Original_FormatoDtmx, Original_CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo, Original_FormatoDtmx, Original_CodSpec, Original_ValoreStr, Original_ValoreInt, Original_Note, Original_Peso, Original_Attivo); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -13697,6 +15499,10 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber private AnagFormatiDtmxTableAdapter _anagFormatiDtmxTableAdapter; + private AnagSpecDtxTableAdapter _anagSpecDtxTableAdapter; + + private TabSpecDtxTableAdapter _tabSpecDtxTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -13782,6 +15588,34 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagSpecDtxTableAdapter AnagSpecDtxTableAdapter { + get { + return this._anagSpecDtxTableAdapter; + } + set { + this._anagSpecDtxTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TabSpecDtxTableAdapter TabSpecDtxTableAdapter { + get { + return this._tabSpecDtxTableAdapter; + } + set { + this._tabSpecDtxTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -13821,6 +15655,14 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber && (this._anagFormatiDtmxTableAdapter.Connection != null))) { return this._anagFormatiDtmxTableAdapter.Connection; } + if (((this._anagSpecDtxTableAdapter != null) + && (this._anagSpecDtxTableAdapter.Connection != null))) { + return this._anagSpecDtxTableAdapter.Connection; + } + if (((this._tabSpecDtxTableAdapter != null) + && (this._tabSpecDtxTableAdapter.Connection != null))) { + return this._tabSpecDtxTableAdapter.Connection; + } return null; } set { @@ -13849,6 +15691,12 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber if ((this._anagFormatiDtmxTableAdapter != null)) { count = (count + 1); } + if ((this._anagSpecDtxTableAdapter != null)) { + count = (count + 1); + } + if ((this._tabSpecDtxTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -13860,6 +15708,24 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateUpdatedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { int result = 0; + if ((this._anagFormatiDtmxTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagFormatiDtmx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagFormatiDtmxTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagSpecDtxTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagSpecDtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagSpecDtxTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._transcodificaParticolariTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -13869,24 +15735,6 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber allChangedRows.AddRange(updatedRows); } } - if ((this._elencoDataMatrixTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._elencoDataMatrixTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._dtx2UDCTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.Dtx2UDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._dtx2UDCTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._attr2DtxTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -13896,12 +15744,30 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber allChangedRows.AddRange(updatedRows); } } - if ((this._anagFormatiDtmxTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagFormatiDtmx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._dtx2UDCTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Dtx2UDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._anagFormatiDtmxTableAdapter.Update(updatedRows)); + result = (result + this._dtx2UDCTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._elencoDataMatrixTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoDataMatrixTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._tabSpecDtxTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TabSpecDtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tabSpecDtxTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -13915,6 +15781,22 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateInsertedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allAddedRows) { int result = 0; + if ((this._anagFormatiDtmxTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagFormatiDtmx.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagFormatiDtmxTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagSpecDtxTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagSpecDtx.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagSpecDtxTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._transcodificaParticolariTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -13923,22 +15805,6 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber allAddedRows.AddRange(addedRows); } } - if ((this._elencoDataMatrixTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._elencoDataMatrixTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._dtx2UDCTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.Dtx2UDC.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._dtx2UDCTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._attr2DtxTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -13947,11 +15813,27 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber allAddedRows.AddRange(addedRows); } } - if ((this._anagFormatiDtmxTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagFormatiDtmx.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._dtx2UDCTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Dtx2UDC.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._anagFormatiDtmxTableAdapter.Update(addedRows)); + result = (result + this._dtx2UDCTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._elencoDataMatrixTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoDataMatrixTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._tabSpecDtxTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TabSpecDtx.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tabSpecDtxTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -13965,27 +15847,11 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; - if ((this._anagFormatiDtmxTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagFormatiDtmx.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._tabSpecDtxTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TabSpecDtx.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._anagFormatiDtmxTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._attr2DtxTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._attr2DtxTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._dtx2UDCTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Dtx2UDC.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._dtx2UDCTableAdapter.Update(deletedRows)); + result = (result + this._tabSpecDtxTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -13997,6 +15863,22 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber allChangedRows.AddRange(deletedRows); } } + if ((this._dtx2UDCTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Dtx2UDC.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._dtx2UDCTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._attr2DtxTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._attr2DtxTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._transcodificaParticolariTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -14005,6 +15887,22 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber allChangedRows.AddRange(deletedRows); } } + if ((this._anagSpecDtxTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagSpecDtx.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagSpecDtxTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagFormatiDtmxTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagFormatiDtmx.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagFormatiDtmxTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } return result; } @@ -14069,6 +15967,16 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._anagSpecDtxTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagSpecDtxTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tabSpecDtxTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tabSpecDtxTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + @@ -14146,6 +16054,24 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber adaptersWithAcceptChangesDuringUpdate.Add(this._anagFormatiDtmxTableAdapter.Adapter); } } + if ((this._anagSpecDtxTableAdapter != null)) { + revertConnections.Add(this._anagSpecDtxTableAdapter, this._anagSpecDtxTableAdapter.Connection); + this._anagSpecDtxTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagSpecDtxTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagSpecDtxTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagSpecDtxTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagSpecDtxTableAdapter.Adapter); + } + } + if ((this._tabSpecDtxTableAdapter != null)) { + revertConnections.Add(this._tabSpecDtxTableAdapter, this._tabSpecDtxTableAdapter.Connection); + this._tabSpecDtxTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tabSpecDtxTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tabSpecDtxTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tabSpecDtxTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tabSpecDtxTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -14224,6 +16150,14 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber this._anagFormatiDtmxTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagFormatiDtmxTableAdapter])); this._anagFormatiDtmxTableAdapter.Transaction = null; } + if ((this._anagSpecDtxTableAdapter != null)) { + this._anagSpecDtxTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagSpecDtxTableAdapter])); + this._anagSpecDtxTableAdapter.Transaction = null; + } + if ((this._tabSpecDtxTableAdapter != null)) { + this._tabSpecDtxTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tabSpecDtxTableAdapter])); + this._tabSpecDtxTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/GMW_data/DS_DataMatrix.xsd b/GMW_data/DS_DataMatrix.xsd index 6c73c5b9..74195500 100644 --- a/GMW_data/DS_DataMatrix.xsd +++ b/GMW_data/DS_DataMatrix.xsd @@ -922,6 +922,144 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber + + + + + + DELETE FROM [dbo].[AnagSpecDtx] WHERE (([CodSpec] = @Original_CodSpec) AND ([Descrizione] = @Original_Descrizione) AND ([Tipo] = @Original_Tipo)) + + + + + + + + + + INSERT INTO [dbo].[AnagSpecDtx] ([CodSpec], [Descrizione], [Tipo]) VALUES (@CodSpec, @Descrizione, @Tipo); +SELECT CodSpec, Descrizione, Tipo FROM AnagSpecDtx WHERE (CodSpec = @CodSpec) + + + + + + + + + + SELECT CodSpec, Descrizione, Tipo FROM dbo.AnagSpecDtx + + + + + + UPDATE [dbo].[AnagSpecDtx] SET [CodSpec] = @CodSpec, [Descrizione] = @Descrizione, [Tipo] = @Tipo WHERE (([CodSpec] = @Original_CodSpec) AND ([Descrizione] = @Original_Descrizione) AND ([Tipo] = @Original_Tipo)); +SELECT CodSpec, Descrizione, Tipo FROM AnagSpecDtx WHERE (CodSpec = @CodSpec) + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[TabSpecDtx] WHERE (([FormatoDtmx] = @Original_FormatoDtmx) AND ([CodSpec] = @Original_CodSpec) AND ([ValoreStr] = @Original_ValoreStr) AND ([ValoreInt] = @Original_ValoreInt) AND ([Note] = @Original_Note) AND ([Peso] = @Original_Peso) AND ([Attivo] = @Original_Attivo)) + + + + + + + + + + + + + + INSERT INTO [dbo].[TabSpecDtx] ([FormatoDtmx], [CodSpec], [ValoreStr], [ValoreInt], [Note], [Peso], [Attivo]) VALUES (@FormatoDtmx, @CodSpec, @ValoreStr, @ValoreInt, @Note, @Peso, @Attivo); +SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM TabSpecDtx WHERE (CodSpec = @CodSpec) AND (FormatoDtmx = @FormatoDtmx) + + + + + + + + + + + + + + SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM dbo.TabSpecDtx + + + + + + UPDATE [dbo].[TabSpecDtx] SET [FormatoDtmx] = @FormatoDtmx, [CodSpec] = @CodSpec, [ValoreStr] = @ValoreStr, [ValoreInt] = @ValoreInt, [Note] = @Note, [Peso] = @Peso, [Attivo] = @Attivo WHERE (([FormatoDtmx] = @Original_FormatoDtmx) AND ([CodSpec] = @Original_CodSpec) AND ([ValoreStr] = @Original_ValoreStr) AND ([ValoreInt] = @Original_ValoreInt) AND ([Note] = @Original_Note) AND ([Peso] = @Original_Peso) AND ([Attivo] = @Original_Attivo)); +SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM TabSpecDtx WHERE (CodSpec = @CodSpec) AND (FormatoDtmx = @FormatoDtmx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dmtx.stp_getSpecDmtxByTipo + + + + + + + + + @@ -1417,6 +1555,70 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1457,5 +1659,20 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_DataMatrix.xss b/GMW_data/DS_DataMatrix.xss index 95d63da5..0efbb5be 100644 --- a/GMW_data/DS_DataMatrix.xss +++ b/GMW_data/DS_DataMatrix.xss @@ -4,24 +4,51 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + + + + + 1315 + 533 + + + 1315 + 581 + + + + + + + 1321 + 875 + + + 1321 + 810 + + + + \ No newline at end of file diff --git a/GMW_data/bin/SP_test/GMW_data.dll b/GMW_data/bin/SP_test/GMW_data.dll index b360ffc1..639a6e68 100644 Binary files a/GMW_data/bin/SP_test/GMW_data.dll and b/GMW_data/bin/SP_test/GMW_data.dll differ diff --git a/GMW_data/bin/SP_test/SteamWare.dll b/GMW_data/bin/SP_test/SteamWare.dll index cabbce11..b5089985 100644 Binary files a/GMW_data/bin/SP_test/SteamWare.dll and b/GMW_data/bin/SP_test/SteamWare.dll differ
Some content in menu 1.