diff --git a/GPW_Data/DS_Utility.Designer.cs b/GPW_Data/DS_Utility.Designer.cs index 15bc8e5..c0322c3 100644 --- a/GPW_Data/DS_Utility.Designer.cs +++ b/GPW_Data/DS_Utility.Designer.cs @@ -7791,11 +7791,16 @@ namespace GPW_data.DS_UtilityTableAdapters { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + 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 value, label\r\nFROM v_selDipendenti\r\nORDER BY label"; 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 = "SELECT value, label\r\nFROM v_selDipendentiAttivi\r\nORDER BY label" + + ""; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -7821,6 +7826,17 @@ namespace GPW_data.DS_UtilityTableAdapters { this.Adapter.Fill(dataTable); return dataTable; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selDipendentiDataTable getAttivi() { + this.Adapter.SelectCommand = this.CommandCollection[1]; + DS_Utility.v_selDipendentiDataTable dataTable = new DS_Utility.v_selDipendentiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } } /// diff --git a/GPW_Data/DS_Utility.xsd b/GPW_Data/DS_Utility.xsd index 0526648..1fe9c8a 100644 --- a/GPW_Data/DS_Utility.xsd +++ b/GPW_Data/DS_Utility.xsd @@ -24,7 +24,18 @@ ORDER BY label - + + + + + SELECT value, label +FROM v_selDipendentiAttivi +ORDER BY label + + + + + @@ -458,7 +469,7 @@ ORDER BY ordinal - + @@ -472,7 +483,7 @@ ORDER BY ordinal - + @@ -485,21 +496,21 @@ ORDER BY ordinal - + - + - + @@ -515,7 +526,7 @@ ORDER BY ordinal - + @@ -530,7 +541,7 @@ ORDER BY ordinal - + @@ -544,7 +555,7 @@ ORDER BY ordinal - + @@ -556,7 +567,7 @@ ORDER BY ordinal - + @@ -576,14 +587,14 @@ ORDER BY ordinal - + - + @@ -599,7 +610,7 @@ ORDER BY ordinal - + @@ -628,7 +639,7 @@ ORDER BY ordinal - + @@ -648,7 +659,7 @@ ORDER BY ordinal - + @@ -669,7 +680,7 @@ ORDER BY ordinal - + @@ -677,7 +688,7 @@ ORDER BY ordinal - + @@ -710,7 +721,7 @@ ORDER BY ordinal - + diff --git a/GPW_Smart/WebUserControls/mod_enrollByAuthKey.ascx b/GPW_Smart/WebUserControls/mod_enrollByAuthKey.ascx index 0582d73..6713ea4 100644 --- a/GPW_Smart/WebUserControls/mod_enrollByAuthKey.ascx +++ b/GPW_Smart/WebUserControls/mod_enrollByAuthKey.ascx @@ -8,7 +8,7 @@ DataTextField="label" DataValueField="value"> + SelectMethod="getAttivi" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter">