diff --git a/ScheMe/VVFGT.aspx b/ScheMe/VVFGT.aspx index a78d56c..9257bc6 100644 --- a/ScheMe/VVFGT.aspx +++ b/ScheMe/VVFGT.aspx @@ -348,8 +348,8 @@ - - + + diff --git a/ScheMe_Data/DS_Applicazione.Designer.cs b/ScheMe_Data/DS_Applicazione.Designer.cs index 92cc28a..eda7c4a 100644 --- a/ScheMe_Data/DS_Applicazione.Designer.cs +++ b/ScheMe_Data/DS_Applicazione.Designer.cs @@ -24880,8 +24880,8 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FS", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@E", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; this._commandCollection[4].CommandText = "dbo.stp_VVFAnz_UpdateQuery"; @@ -24893,8 +24893,8 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FS", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@E", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataVisita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } @@ -24983,7 +24983,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat [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 InsertQuery(global::System.Nullable IdxPaziente, global::System.Nullable DataVisita, global::System.Nullable FAI, global::System.Nullable FP, global::System.Nullable FT, global::System.Nullable FS, global::System.Nullable E, global::System.Nullable GA, global::System.Nullable Altezza, global::System.Nullable Peso) { + public virtual int InsertQuery(global::System.Nullable IdxPaziente, global::System.Nullable DataVisita, global::System.Nullable FAI, global::System.Nullable FP, global::System.Nullable FT, global::System.Nullable FS, global::System.Nullable E, global::System.Nullable GA, global::System.Nullable Altezza, global::System.Nullable Peso) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; if ((IdxPaziente.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxPaziente.Value)); @@ -25034,13 +25034,13 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat command.Parameters[8].Value = global::System.DBNull.Value; } if ((Altezza.HasValue == true)) { - command.Parameters[9].Value = ((int)(Altezza.Value)); + command.Parameters[9].Value = ((double)(Altezza.Value)); } else { command.Parameters[9].Value = global::System.DBNull.Value; } if ((Peso.HasValue == true)) { - command.Parameters[10].Value = ((int)(Peso.Value)); + command.Parameters[10].Value = ((double)(Peso.Value)); } else { command.Parameters[10].Value = global::System.DBNull.Value; @@ -25065,7 +25065,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat [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 UpdateQuery(global::System.Nullable FAI, global::System.Nullable FP, global::System.Nullable FT, global::System.Nullable FS, global::System.Nullable E, global::System.Nullable GA, global::System.Nullable Altezza, global::System.Nullable Peso, global::System.Nullable Original_DataVisita, global::System.Nullable Original_IdxPaziente) { + public virtual int UpdateQuery(global::System.Nullable FAI, global::System.Nullable FP, global::System.Nullable FT, global::System.Nullable FS, global::System.Nullable E, global::System.Nullable GA, global::System.Nullable Altezza, global::System.Nullable Peso, global::System.Nullable Original_DataVisita, global::System.Nullable Original_IdxPaziente) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; if ((FAI.HasValue == true)) { command.Parameters[1].Value = ((int)(FAI.Value)); @@ -25104,13 +25104,13 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat command.Parameters[6].Value = global::System.DBNull.Value; } if ((Altezza.HasValue == true)) { - command.Parameters[7].Value = ((int)(Altezza.Value)); + command.Parameters[7].Value = ((double)(Altezza.Value)); } else { command.Parameters[7].Value = global::System.DBNull.Value; } if ((Peso.HasValue == true)) { - command.Parameters[8].Value = ((int)(Peso.Value)); + command.Parameters[8].Value = ((double)(Peso.Value)); } else { command.Parameters[8].Value = global::System.DBNull.Value; @@ -25337,8 +25337,8 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TR2", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SU", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; this._commandCollection[4].CommandText = "dbo.stp_VVFGT_UpdateQuery"; @@ -25442,7 +25442,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat [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 InsertQuery(global::System.Nullable IdxPaziente, global::System.Nullable DataVisita, global::System.Nullable SJ, global::System.Nullable FT, global::System.Nullable PU, global::System.Nullable TR0, global::System.Nullable TR1, global::System.Nullable TR2, global::System.Nullable SU, global::System.Nullable GA, global::System.Nullable Altezza, global::System.Nullable Peso) { + public virtual int InsertQuery(global::System.Nullable IdxPaziente, global::System.Nullable DataVisita, global::System.Nullable SJ, global::System.Nullable FT, global::System.Nullable PU, global::System.Nullable TR0, global::System.Nullable TR1, global::System.Nullable TR2, global::System.Nullable SU, global::System.Nullable GA, global::System.Nullable Altezza, global::System.Nullable Peso) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; if ((IdxPaziente.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxPaziente.Value)); @@ -25505,13 +25505,13 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat command.Parameters[10].Value = global::System.DBNull.Value; } if ((Altezza.HasValue == true)) { - command.Parameters[11].Value = ((int)(Altezza.Value)); + command.Parameters[11].Value = ((double)(Altezza.Value)); } else { command.Parameters[11].Value = global::System.DBNull.Value; } if ((Peso.HasValue == true)) { - command.Parameters[12].Value = ((int)(Peso.Value)); + command.Parameters[12].Value = ((double)(Peso.Value)); } else { command.Parameters[12].Value = global::System.DBNull.Value; diff --git a/ScheMe_Data/DS_Applicazione.xsd b/ScheMe_Data/DS_Applicazione.xsd index 96c787b..9e7e03c 100644 --- a/ScheMe_Data/DS_Applicazione.xsd +++ b/ScheMe_Data/DS_Applicazione.xsd @@ -1641,8 +1641,8 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - - + + @@ -1659,8 +1659,8 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - - + + @@ -1747,8 +1747,8 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - - + + @@ -1785,7 +1785,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1866,7 +1866,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1882,7 +1882,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1905,7 +1905,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1928,7 +1928,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1956,7 +1956,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1970,7 +1970,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2022,7 +2022,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2039,7 +2039,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2528,7 +2528,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2580,7 +2580,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2613,7 +2613,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2707,15 +2707,15 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/ScheMe_Data/DS_Applicazione.xss b/ScheMe_Data/DS_Applicazione.xss index 7ae16f5..25971d6 100644 --- a/ScheMe_Data/DS_Applicazione.xss +++ b/ScheMe_Data/DS_Applicazione.xss @@ -4,19 +4,19 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - + - + - - - - - - - + + + + + + + @@ -76,7 +76,7 @@ - + 747 @@ -88,7 +88,7 @@ - + 680 @@ -100,7 +100,7 @@ - + 980 @@ -120,7 +120,7 @@ - + 980 @@ -140,7 +140,7 @@ - + 713