diff --git a/GMW-RT/bin/GMW-RT.dll b/GMW-RT/bin/GMW-RT.dll index 27ae9be7..d7860486 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 bced3d1e..bb1e556e 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 2a797b69..50efc3c1 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 ef1359a8..0baf401f 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 bced3d1e..bb1e556e 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 2a797b69..50efc3c1 100644 Binary files a/GMW-UT/bin/SteamWare.dll and b/GMW-UT/bin/SteamWare.dll differ diff --git a/GMW/SQL/Vers_3.3_SP.sql b/GMW/SQL/Vers_3.3_SP.sql index 4f26405c..e01c37e0 100644 --- a/GMW/SQL/Vers_3.3_SP.sql +++ b/GMW/SQL/Vers_3.3_SP.sql @@ -46,4 +46,6 @@ exec stp_insNewLemma 'DtxAdd', 'Aggiunto DataMatrix' exec stp_insNewLemma 'DtxRem', 'Rimosso DataMatrix' exec stp_insNewLemma 'B48_ReadTwiceToConfirm', 'DataMatrix precedentemente segnalato: Prego confermare assegnazione con nuova lettura' exec stp_insNewLemma 'btnBloccoDmtx', 'Blocco Datamatrix' +exec stp_insNewLemma 'TipoNC', 'Tipo NC' +exec stp_insNewLemma 'FormatoDmtx', 'Formato Datamatrix' diff --git a/GMW/WebUserControls/mod_setAttrDtx.ascx b/GMW/WebUserControls/mod_setAttrDtx.ascx index afbbb49c..afb1b309 100644 --- a/GMW/WebUserControls/mod_setAttrDtx.ascx +++ b/GMW/WebUserControls/mod_setAttrDtx.ascx @@ -8,18 +8,31 @@
- Formato Datamatrix: - - B48 - +
+
+ <%: traduci("FormatoDmtx") %> +
+
+ + B48 + +
+
+
- Tipo NC: - - - +
+
+ <%: traduci("TipoNC") %> +
+
+ + + +
+
@@ -48,17 +61,24 @@
Elenco ultimi DataMatrix segnalati
- + - - - - - - + + + <%-- + + + + --%> + + + + + <%# traduci("noRecord") %> + @@ -70,9 +90,10 @@ - + - + +
diff --git a/GMW/WebUserControls/mod_setAttrDtx.ascx.designer.cs b/GMW/WebUserControls/mod_setAttrDtx.ascx.designer.cs index 07fcd06d..b4faf9ea 100644 --- a/GMW/WebUserControls/mod_setAttrDtx.ascx.designer.cs +++ b/GMW/WebUserControls/mod_setAttrDtx.ascx.designer.cs @@ -30,6 +30,15 @@ namespace GMW.WebUserControls { /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2; + /// + /// div1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl div1; + /// /// ddlFormDmtx control. /// @@ -39,6 +48,15 @@ namespace GMW.WebUserControls { /// protected global::System.Web.UI.WebControls.DropDownList ddlFormDmtx; + /// + /// div2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl div2; + /// /// ddlTipoAttr control. /// @@ -121,12 +139,12 @@ namespace GMW.WebUserControls { protected global::System.Web.UI.WebControls.GridView grView; /// - /// odsUdcSBloccabili control. + /// odsDtxByAttr control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.ObjectDataSource odsUdcSBloccabili; + protected global::System.Web.UI.WebControls.ObjectDataSource odsDtxByAttr; } } diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index ce187701..75009fe6 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 bced3d1e..bb1e556e 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 2a797b69..50efc3c1 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 8b8d797f..c16cfe46 100644 --- a/GMW_data/DS_DataMatrix.Designer.cs +++ b/GMW_data/DS_DataMatrix.Designer.cs @@ -52,6 +52,8 @@ namespace GMW_data { private AnagFormatiDtmxDataTable tableAnagFormatiDtmx; + private Dmtx_ByAttrDataTable tableDmtx_ByAttr; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -122,6 +124,9 @@ namespace GMW_data { if ((ds.Tables["AnagFormatiDtmx"] != null)) { base.Tables.Add(new AnagFormatiDtmxDataTable(ds.Tables["AnagFormatiDtmx"])); } + if ((ds.Tables["Dmtx_ByAttr"] != null)) { + base.Tables.Add(new Dmtx_ByAttrDataTable(ds.Tables["Dmtx_ByAttr"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -280,6 +285,16 @@ 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 Dmtx_ByAttrDataTable Dmtx_ByAttr { + get { + return this.tableDmtx_ByAttr; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -389,6 +404,9 @@ namespace GMW_data { if ((ds.Tables["AnagFormatiDtmx"] != null)) { base.Tables.Add(new AnagFormatiDtmxDataTable(ds.Tables["AnagFormatiDtmx"])); } + if ((ds.Tables["Dmtx_ByAttr"] != null)) { + base.Tables.Add(new Dmtx_ByAttrDataTable(ds.Tables["Dmtx_ByAttr"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -506,6 +524,12 @@ namespace GMW_data { this.tableAnagFormatiDtmx.InitVars(); } } + this.tableDmtx_ByAttr = ((Dmtx_ByAttrDataTable)(base.Tables["Dmtx_ByAttr"])); + if ((initTable == true)) { + if ((this.tableDmtx_ByAttr != null)) { + this.tableDmtx_ByAttr.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -544,6 +568,8 @@ namespace GMW_data { base.Tables.Add(this.tablestp_DtxCheckBlocked); this.tableAnagFormatiDtmx = new AnagFormatiDtmxDataTable(); base.Tables.Add(this.tableAnagFormatiDtmx); + this.tableDmtx_ByAttr = new Dmtx_ByAttrDataTable(); + base.Tables.Add(this.tableDmtx_ByAttr); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -630,6 +656,12 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeDmtx_ByAttr() { + 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) { @@ -727,6 +759,9 @@ namespace GMW_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void AnagFormatiDtmxRowChangeEventHandler(object sender, AnagFormatiDtmxRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void Dmtx_ByAttrRowChangeEventHandler(object sender, Dmtx_ByAttrRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -5041,6 +5076,411 @@ namespace GMW_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Dmtx_ByAttrDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnDataMatrix; + + private global::System.Data.DataColumn columnDataOra; + + private global::System.Data.DataColumn columnStazioneID; + + private global::System.Data.DataColumn columnEsitoMarcatura; + + private global::System.Data.DataColumn columnFormatoDtmxMM; + + private global::System.Data.DataColumn columnPartNumber; + + private global::System.Data.DataColumn columnIdMaster; + + private global::System.Data.DataColumn columnAssociato; + + private global::System.Data.DataColumn columnPN_OK; + + private global::System.Data.DataColumn columnFD_OK; + + private global::System.Data.DataColumn columnParticolare; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Dmtx_ByAttrDataTable() { + this.TableName = "Dmtx_ByAttr"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Dmtx_ByAttrDataTable(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 Dmtx_ByAttrDataTable(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 DataMatrixColumn { + get { + return this.columnDataMatrix; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataOraColumn { + get { + return this.columnDataOra; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StazioneIDColumn { + get { + return this.columnStazioneID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsitoMarcaturaColumn { + get { + return this.columnEsitoMarcatura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FormatoDtmxMMColumn { + get { + return this.columnFormatoDtmxMM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PartNumberColumn { + get { + return this.columnPartNumber; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdMasterColumn { + get { + return this.columnIdMaster; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AssociatoColumn { + get { + return this.columnAssociato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PN_OKColumn { + get { + return this.columnPN_OK; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FD_OKColumn { + get { + return this.columnFD_OK; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [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 Dmtx_ByAttrRow this[int index] { + get { + return ((Dmtx_ByAttrRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Dmtx_ByAttrRowChangeEventHandler Dmtx_ByAttrRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Dmtx_ByAttrRowChangeEventHandler Dmtx_ByAttrRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Dmtx_ByAttrRowChangeEventHandler Dmtx_ByAttrRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Dmtx_ByAttrRowChangeEventHandler Dmtx_ByAttrRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddDmtx_ByAttrRow(Dmtx_ByAttrRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Dmtx_ByAttrRow AddDmtx_ByAttrRow(string DataMatrix, System.DateTime DataOra, int StazioneID, string EsitoMarcatura, string FormatoDtmxMM, string PartNumber, long IdMaster, bool Associato, string PN_OK, string FD_OK, string Particolare) { + Dmtx_ByAttrRow rowDmtx_ByAttrRow = ((Dmtx_ByAttrRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + DataMatrix, + DataOra, + StazioneID, + EsitoMarcatura, + FormatoDtmxMM, + PartNumber, + IdMaster, + Associato, + PN_OK, + FD_OK, + Particolare}; + rowDmtx_ByAttrRow.ItemArray = columnValuesArray; + this.Rows.Add(rowDmtx_ByAttrRow); + return rowDmtx_ByAttrRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + Dmtx_ByAttrDataTable cln = ((Dmtx_ByAttrDataTable)(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 Dmtx_ByAttrDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnDataMatrix = base.Columns["DataMatrix"]; + this.columnDataOra = base.Columns["DataOra"]; + this.columnStazioneID = base.Columns["StazioneID"]; + this.columnEsitoMarcatura = base.Columns["EsitoMarcatura"]; + this.columnFormatoDtmxMM = base.Columns["FormatoDtmxMM"]; + this.columnPartNumber = base.Columns["PartNumber"]; + this.columnIdMaster = base.Columns["IdMaster"]; + this.columnAssociato = base.Columns["Associato"]; + this.columnPN_OK = base.Columns["PN_OK"]; + this.columnFD_OK = base.Columns["FD_OK"]; + this.columnParticolare = base.Columns["Particolare"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnDataMatrix = new global::System.Data.DataColumn("DataMatrix", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataMatrix); + this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOra); + this.columnStazioneID = new global::System.Data.DataColumn("StazioneID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStazioneID); + this.columnEsitoMarcatura = new global::System.Data.DataColumn("EsitoMarcatura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsitoMarcatura); + this.columnFormatoDtmxMM = new global::System.Data.DataColumn("FormatoDtmxMM", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFormatoDtmxMM); + this.columnPartNumber = new global::System.Data.DataColumn("PartNumber", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPartNumber); + this.columnIdMaster = new global::System.Data.DataColumn("IdMaster", typeof(long), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdMaster); + this.columnAssociato = new global::System.Data.DataColumn("Associato", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAssociato); + this.columnPN_OK = new global::System.Data.DataColumn("PN_OK", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_OK); + this.columnFD_OK = new global::System.Data.DataColumn("FD_OK", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFD_OK); + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + this.columnDataMatrix.AllowDBNull = false; + this.columnDataMatrix.MaxLength = 50; + this.columnDataOra.AllowDBNull = false; + this.columnStazioneID.AllowDBNull = false; + this.columnEsitoMarcatura.AllowDBNull = false; + this.columnEsitoMarcatura.MaxLength = 10; + this.columnFormatoDtmxMM.AllowDBNull = false; + this.columnFormatoDtmxMM.MaxLength = 20; + this.columnPartNumber.AllowDBNull = false; + this.columnPartNumber.MaxLength = 30; + this.columnIdMaster.AllowDBNull = false; + this.columnAssociato.AllowDBNull = false; + this.columnPN_OK.ReadOnly = true; + this.columnPN_OK.MaxLength = 50; + this.columnFD_OK.ReadOnly = true; + this.columnFD_OK.MaxLength = 20; + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Dmtx_ByAttrRow NewDmtx_ByAttrRow() { + return ((Dmtx_ByAttrRow)(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 Dmtx_ByAttrRow(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(Dmtx_ByAttrRow); + } + + [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.Dmtx_ByAttrRowChanged != null)) { + this.Dmtx_ByAttrRowChanged(this, new Dmtx_ByAttrRowChangeEvent(((Dmtx_ByAttrRow)(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.Dmtx_ByAttrRowChanging != null)) { + this.Dmtx_ByAttrRowChanging(this, new Dmtx_ByAttrRowChangeEvent(((Dmtx_ByAttrRow)(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.Dmtx_ByAttrRowDeleted != null)) { + this.Dmtx_ByAttrRowDeleted(this, new Dmtx_ByAttrRowChangeEvent(((Dmtx_ByAttrRow)(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.Dmtx_ByAttrRowDeleting != null)) { + this.Dmtx_ByAttrRowDeleting(this, new Dmtx_ByAttrRowChangeEvent(((Dmtx_ByAttrRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveDmtx_ByAttrRow(Dmtx_ByAttrRow 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 = "Dmtx_ByAttrDataTable"; + 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. /// @@ -6585,6 +7025,176 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class Dmtx_ByAttrRow : global::System.Data.DataRow { + + private Dmtx_ByAttrDataTable tableDmtx_ByAttr; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Dmtx_ByAttrRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableDmtx_ByAttr = ((Dmtx_ByAttrDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DataMatrix { + get { + return ((string)(this[this.tableDmtx_ByAttr.DataMatrixColumn])); + } + set { + this[this.tableDmtx_ByAttr.DataMatrixColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataOra { + get { + return ((global::System.DateTime)(this[this.tableDmtx_ByAttr.DataOraColumn])); + } + set { + this[this.tableDmtx_ByAttr.DataOraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int StazioneID { + get { + return ((int)(this[this.tableDmtx_ByAttr.StazioneIDColumn])); + } + set { + this[this.tableDmtx_ByAttr.StazioneIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string EsitoMarcatura { + get { + return ((string)(this[this.tableDmtx_ByAttr.EsitoMarcaturaColumn])); + } + set { + this[this.tableDmtx_ByAttr.EsitoMarcaturaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FormatoDtmxMM { + get { + return ((string)(this[this.tableDmtx_ByAttr.FormatoDtmxMMColumn])); + } + set { + this[this.tableDmtx_ByAttr.FormatoDtmxMMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PartNumber { + get { + return ((string)(this[this.tableDmtx_ByAttr.PartNumberColumn])); + } + set { + this[this.tableDmtx_ByAttr.PartNumberColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public long IdMaster { + get { + return ((long)(this[this.tableDmtx_ByAttr.IdMasterColumn])); + } + set { + this[this.tableDmtx_ByAttr.IdMasterColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Associato { + get { + return ((bool)(this[this.tableDmtx_ByAttr.AssociatoColumn])); + } + set { + this[this.tableDmtx_ByAttr.AssociatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PN_OK { + get { + try { + return ((string)(this[this.tableDmtx_ByAttr.PN_OKColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PN_OK\' in table \'Dmtx_ByAttr\' is DBNull.", e); + } + } + set { + this[this.tableDmtx_ByAttr.PN_OKColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string FD_OK { + get { + try { + return ((string)(this[this.tableDmtx_ByAttr.FD_OKColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FD_OK\' in table \'Dmtx_ByAttr\' is DBNull.", e); + } + } + set { + this[this.tableDmtx_ByAttr.FD_OKColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableDmtx_ByAttr.ParticolareColumn])); + } + set { + this[this.tableDmtx_ByAttr.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPN_OKNull() { + return this.IsNull(this.tableDmtx_ByAttr.PN_OKColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPN_OKNull() { + this[this.tableDmtx_ByAttr.PN_OKColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFD_OKNull() { + return this.IsNull(this.tableDmtx_ByAttr.FD_OKColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFD_OKNull() { + this[this.tableDmtx_ByAttr.FD_OKColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -7060,6 +7670,40 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class Dmtx_ByAttrRowChangeEvent : global::System.EventArgs { + + private Dmtx_ByAttrRow 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 Dmtx_ByAttrRowChangeEvent(Dmtx_ByAttrRow 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 Dmtx_ByAttrRow 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 { @@ -11761,6 +12405,210 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE } } + /// + ///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 Dmtx_ByAttrTableAdapter : 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 Dmtx_ByAttrTableAdapter() { + 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 = "Dmtx_ByAttr"; + tableMapping.ColumnMappings.Add("DataMatrix", "DataMatrix"); + tableMapping.ColumnMappings.Add("DataOra", "DataOra"); + tableMapping.ColumnMappings.Add("StazioneID", "StazioneID"); + tableMapping.ColumnMappings.Add("EsitoMarcatura", "EsitoMarcatura"); + tableMapping.ColumnMappings.Add("FormatoDtmxMM", "FormatoDtmxMM"); + tableMapping.ColumnMappings.Add("PartNumber", "PartNumber"); + tableMapping.ColumnMappings.Add("IdMaster", "IdMaster"); + tableMapping.ColumnMappings.Add("Associato", "Associato"); + tableMapping.ColumnMappings.Add("PN_OK", "PN_OK"); + tableMapping.ColumnMappings.Add("FD_OK", "FD_OK"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + this._adapter.TableMappings.Add(tableMapping); + } + + [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 = "dmtx.stp_Dmtx_GetByAttr"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAttr", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].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.Dmtx_ByAttrDataTable dataTable, string CodAttr, string FormatoDtmx) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodAttr == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodAttr)); + } + if ((FormatoDtmx == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FormatoDtmx)); + } + 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.Dmtx_ByAttrDataTable GetData(string CodAttr, string FormatoDtmx) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodAttr == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodAttr)); + } + if ((FormatoDtmx == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FormatoDtmx)); + } + DS_DataMatrix.Dmtx_ByAttrDataTable dataTable = new DS_DataMatrix.Dmtx_ByAttrDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/GMW_data/DS_DataMatrix.xsd b/GMW_data/DS_DataMatrix.xsd index 095dac7a..0199fd2c 100644 --- a/GMW_data/DS_DataMatrix.xsd +++ b/GMW_data/DS_DataMatrix.xsd @@ -474,7 +474,7 @@ SELECT DataMatrix, CodStato, UDC, DataOra, CodSoggetto, Particolare FROM Dtx2UDC - + dmtx.stp_D2U_delete @@ -534,7 +534,7 @@ SELECT DataMatrix, CodStato, UDC, DataOra, CodSoggetto, Particolare FROM Dtx2UDC - + dmtx.stp_DtxRiassocia @@ -562,7 +562,7 @@ SELECT DataMatrix, CodStato, UDC, DataOra, CodSoggetto, Particolare FROM Dtx2UDC - + dmtx.stp_DtxUpdateUDC @@ -824,6 +824,36 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE + + + + + + dmtx.stp_Dmtx_GetByAttr + + + + + + + + + + + + + + + + + + + + + + + + @@ -925,7 +955,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -945,7 +975,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -959,7 +989,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -994,7 +1024,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1014,7 +1044,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1034,7 +1064,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1076,7 +1106,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1089,7 +1119,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1125,7 +1155,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1161,7 +1191,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1174,7 +1204,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE - + @@ -1202,6 +1232,65 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GMW_data/DS_DataMatrix.xss b/GMW_data/DS_DataMatrix.xss index 081681f6..57042329 100644 --- a/GMW_data/DS_DataMatrix.xss +++ b/GMW_data/DS_DataMatrix.xss @@ -4,22 +4,23 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file