diff --git a/MP-MAG/WebUserControls/cmp_elencoUDC.ascx b/MP-MAG/WebUserControls/cmp_elencoUDC.ascx index b076d4c..3e16874 100644 --- a/MP-MAG/WebUserControls/cmp_elencoUDC.ascx +++ b/MP-MAG/WebUserControls/cmp_elencoUDC.ascx @@ -1,48 +1,59 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_elencoUDC.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_elencoUDC" %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Nessun record trovato - - - - - - - - \ No newline at end of file +
+
+

Elenco UDC

+
+
+
+
+ + + + + + + + + + + + <%----%> + <%----%> + <%----%> + + <%----%> + <%----%> + <%-- + + --%> + <%-- + --%> + <%-- + + + + --%> + <%-- + + + + + + + --%> + + + Nessun record trovato + + + + + + + + +
+
+
+
\ No newline at end of file diff --git a/MagData/DS_Mag.Designer.cs b/MagData/DS_Mag.Designer.cs index 71e9244..2e1a6ac 100644 --- a/MagData/DS_Mag.Designer.cs +++ b/MagData/DS_Mag.Designer.cs @@ -1334,9 +1334,9 @@ namespace MagData { decimal Qta, int NumCont, string CodSoggetto, - double PesoTot, - double PesoCad, - double Tara, + decimal PesoTot, + decimal PesoCad, + decimal Tara, string CodImballo, int IdxPosizione, System.DateTime DtMod, @@ -1465,11 +1465,11 @@ namespace MagData { base.Columns.Add(this.columnNumCont); this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodSoggetto); - this.columnPesoTot = new global::System.Data.DataColumn("PesoTot", typeof(double), null, global::System.Data.MappingType.Element); + this.columnPesoTot = new global::System.Data.DataColumn("PesoTot", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPesoTot); - this.columnPesoCad = new global::System.Data.DataColumn("PesoCad", typeof(double), null, global::System.Data.MappingType.Element); + this.columnPesoCad = new global::System.Data.DataColumn("PesoCad", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPesoCad); - this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element); + this.columnTara = new global::System.Data.DataColumn("Tara", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTara); this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodImballo); @@ -1529,7 +1529,7 @@ namespace MagData { this.columnNoteLotto.AllowDBNull = false; this.columnNoteLotto.MaxLength = 250; this.columnRagSociale.AllowDBNull = false; - this.columnRagSociale.MaxLength = 50; + this.columnRagSociale.MaxLength = 500; this.columnIndirizzo.AllowDBNull = false; this.columnIndirizzo.MaxLength = 250; this.columnLocalita.AllowDBNull = false; @@ -2965,7 +2965,7 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public ElencoALRow AddElencoALRow(string AL, string Descr, System.DateTime DtRec, double Peso, double Tara, string CodSoggetto, decimal QtaUdc, int NumUdc, double PesoUdc, double TaraUdc) { + public ElencoALRow AddElencoALRow(string AL, string Descr, System.DateTime DtRec, decimal Peso, decimal Tara, string CodSoggetto, decimal QtaUdc, int NumUdc, decimal PesoUdc, decimal TaraUdc) { ElencoALRow rowElencoALRow = ((ElencoALRow)(this.NewRow())); object[] columnValuesArray = new object[] { AL, @@ -3028,9 +3028,9 @@ namespace MagData { base.Columns.Add(this.columnDescr); this.columnDtRec = new global::System.Data.DataColumn("DtRec", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDtRec); - this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element); + this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPeso); - this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element); + this.columnTara = new global::System.Data.DataColumn("Tara", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTara); this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodSoggetto); @@ -3038,9 +3038,9 @@ namespace MagData { base.Columns.Add(this.columnQtaUdc); this.columnNumUdc = new global::System.Data.DataColumn("NumUdc", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNumUdc); - this.columnPesoUdc = new global::System.Data.DataColumn("PesoUdc", typeof(double), null, global::System.Data.MappingType.Element); + this.columnPesoUdc = new global::System.Data.DataColumn("PesoUdc", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPesoUdc); - this.columnTaraUdc = new global::System.Data.DataColumn("TaraUdc", typeof(double), null, global::System.Data.MappingType.Element); + this.columnTaraUdc = new global::System.Data.DataColumn("TaraUdc", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTaraUdc); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnAL}, true)); @@ -3870,10 +3870,10 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double PesoTot { + public decimal PesoTot { get { try { - return ((double)(this[this.tableElencoUdc.PesoTotColumn])); + return ((decimal)(this[this.tableElencoUdc.PesoTotColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("Il valore della colonna \'PesoTot\' nella tabella \'ElencoUdc\' è DBNull.", e); @@ -3886,10 +3886,10 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double PesoCad { + public decimal PesoCad { get { try { - return ((double)(this[this.tableElencoUdc.PesoCadColumn])); + return ((decimal)(this[this.tableElencoUdc.PesoCadColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("Il valore della colonna \'PesoCad\' nella tabella \'ElencoUdc\' è DBNull.", e); @@ -3902,10 +3902,10 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double Tara { + public decimal Tara { get { try { - return ((double)(this[this.tableElencoUdc.TaraColumn])); + return ((decimal)(this[this.tableElencoUdc.TaraColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("Il valore della colonna \'Tara\' nella tabella \'ElencoUdc\' è DBNull.", e); @@ -4802,9 +4802,9 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double Peso { + public decimal Peso { get { - return ((double)(this[this.tableElencoAL.PesoColumn])); + return ((decimal)(this[this.tableElencoAL.PesoColumn])); } set { this[this.tableElencoAL.PesoColumn] = value; @@ -4813,9 +4813,9 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double Tara { + public decimal Tara { get { - return ((double)(this[this.tableElencoAL.TaraColumn])); + return ((decimal)(this[this.tableElencoAL.TaraColumn])); } set { this[this.tableElencoAL.TaraColumn] = value; @@ -4867,10 +4867,10 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double PesoUdc { + public decimal PesoUdc { get { try { - return ((double)(this[this.tableElencoAL.PesoUdcColumn])); + return ((decimal)(this[this.tableElencoAL.PesoUdcColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("Il valore della colonna \'PesoUdc\' nella tabella \'ElencoAL\' è DBNull.", e); @@ -4883,10 +4883,10 @@ namespace MagData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public double TaraUdc { + public decimal TaraUdc { get { try { - return ((double)(this[this.tableElencoAL.TaraUdcColumn])); + return ((decimal)(this[this.tableElencoAL.TaraUdcColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("Il valore della colonna \'TaraUdc\' nella tabella \'ElencoAL\' è DBNull.", e); @@ -5880,7 +5880,7 @@ namespace MagData.DS_MagTableAdapters { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.v_ElencoUdc"; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_ElencoUdc"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; @@ -6846,7 +6846,7 @@ namespace MagData.DS_MagTableAdapters { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_ElencoAL"; + this._commandCollection[0].CommandText = "SELECT * FROM v_ElencoAL"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; diff --git a/MagData/DS_Mag.xsd b/MagData/DS_Mag.xsd index 75791c9..fda1f45 100644 --- a/MagData/DS_Mag.xsd +++ b/MagData/DS_Mag.xsd @@ -129,11 +129,11 @@ FROM V_ElencoLotti - + SELECT * -FROM dbo.v_ElencoUdc +FROM v_ElencoUdc @@ -355,9 +355,8 @@ FROM dbo.ElencoPost2Queue - - SELECT * -FROM v_ElencoAL + + SELECT * FROM v_ElencoAL @@ -629,9 +628,9 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM - - - + + + @@ -680,7 +679,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM - + @@ -875,8 +874,8 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM - - + + @@ -886,8 +885,8 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM - - + + diff --git a/MagData/DS_Mag.xss b/MagData/DS_Mag.xss index a6d99a4..4f56de0 100644 --- a/MagData/DS_Mag.xss +++ b/MagData/DS_Mag.xss @@ -7,11 +7,11 @@ - + - +