diff --git a/MP-ADM/WebUserControls/mod_planStats.ascx b/MP-ADM/WebUserControls/mod_planStats.ascx index af59c322..de0055e7 100644 --- a/MP-ADM/WebUserControls/mod_planStats.ascx +++ b/MP-ADM/WebUserControls/mod_planStats.ascx @@ -54,26 +54,6 @@ -
-
-

Articoli

-
-
- - - - - - - - - - - - - -
-

Gruppi

@@ -103,7 +83,31 @@ - + + + + + +
+
+
+
+

Articoli

+
+
+ + + + + + + + + + + + +
diff --git a/MP-ADM/WebUserControls/mod_planStats.ascx.designer.cs b/MP-ADM/WebUserControls/mod_planStats.ascx.designer.cs index b6d0367d..99676cb8 100644 --- a/MP-ADM/WebUserControls/mod_planStats.ascx.designer.cs +++ b/MP-ADM/WebUserControls/mod_planStats.ascx.designer.cs @@ -57,24 +57,6 @@ namespace MP_ADM.WebUserControls { /// protected global::System.Web.UI.WebControls.ObjectDataSource odsStGlb; - /// - /// Controllo gvParetoArt. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.GridView gvParetoArt; - - /// - /// Controllo odsStArt. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource odsStArt; - /// /// Controllo gvParetoGrp. /// @@ -110,5 +92,23 @@ namespace MP_ADM.WebUserControls { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsStMac; + + /// + /// Controllo gvParetoArt. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.GridView gvParetoArt; + + /// + /// Controllo odsStArt. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsStArt; } } diff --git a/MapoDb/DS_Plan.Designer.cs b/MapoDb/DS_Plan.Designer.cs index 51dce141..25eb167d 100644 --- a/MapoDb/DS_Plan.Designer.cs +++ b/MapoDb/DS_Plan.Designer.cs @@ -3402,11 +3402,17 @@ namespace MapoDb.DS_PlanTableAdapters { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 *\r\nFROM dbo.v_planStatsMacc\r\nORDER BY TotOreRich DESC"; 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 = "dbo.stp_PSM_filt"; + 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("@CodGruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -3432,6 +3438,23 @@ namespace MapoDb.DS_PlanTableAdapters { this.Adapter.Fill(dataTable); return dataTable; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Plan.planStatsMaccDataTable getFilt(string CodGruppo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodGruppo == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodGruppo)); + } + DS_Plan.planStatsMaccDataTable dataTable = new DS_Plan.planStatsMaccDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } } /// diff --git a/MapoDb/DS_Plan.xsd b/MapoDb/DS_Plan.xsd index 7a2e585d..81eb6dd5 100644 --- a/MapoDb/DS_Plan.xsd +++ b/MapoDb/DS_Plan.xsd @@ -112,7 +112,19 @@ ORDER BY TotOreRich DESC - + + + + + dbo.stp_PSM_filt + + + + + + + + diff --git a/MapoDb/DS_Plan.xss b/MapoDb/DS_Plan.xss index 5a8812cf..d31856a5 100644 --- a/MapoDb/DS_Plan.xss +++ b/MapoDb/DS_Plan.xss @@ -9,7 +9,7 @@ - +