From a7e9cd2ddad1d4837ec47ab2f44d4ef6e28ed892 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 17 Mar 2017 18:27:35 +0100 Subject: [PATCH] portato su DB conf x righeDataGrid... --- GMW/GestMatrUser.aspx.cs | 2 +- GMW/Web.config | 5 ----- GMW/Web.config.devSP | 5 ----- GMW/Web.config.devTK | 5 ----- GMW/WebUserControls/mod_assegnaNC.ascx.cs | 2 +- GMW/WebUserControls/mod_checkDelibLogNc.ascx.cs | 2 +- GMW/WebUserControls/mod_delibLogNc.ascx.cs | 2 +- GMW/WebUserControls/mod_elencoNC.ascx.cs | 2 +- GMW/WebUserControls/mod_manSAO.ascx.cs | 2 +- GMW/WebUserControls/mod_scaricoUdcObsoleti.ascx.cs | 2 +- GMW/bin/Web.config | 5 ----- ...Applicazione.Designer.cs => DS_Applicazione1.Designer.cs} | 0 GMW_data/GMW_data.csproj | 2 +- 13 files changed, 8 insertions(+), 28 deletions(-) rename GMW_data/{DS_Applicazione.Designer.cs => DS_Applicazione1.Designer.cs} (100%) diff --git a/GMW/GestMatrUser.aspx.cs b/GMW/GestMatrUser.aspx.cs index 25be389d..cd6e07df 100644 --- a/GMW/GestMatrUser.aspx.cs +++ b/GMW/GestMatrUser.aspx.cs @@ -14,7 +14,7 @@ namespace GMW { if (!Page.IsPostBack) { - mod_righePag1.numRowPag = memLayer.ML.CRI("_righeDataGridShort"); + mod_righePag1.numRowPag = memLayer.ML.cdvi("_righeDataGridShort"); mod_GestMatrUser.pageSize = mod_righePag1.numRowPag; } mod_righePag1.eh_newNum += mod_righePag1_eh_newNum; diff --git a/GMW/Web.config b/GMW/Web.config index 1b3a9292..8517a6c1 100644 --- a/GMW/Web.config +++ b/GMW/Web.config @@ -52,11 +52,6 @@ - - - - - diff --git a/GMW/Web.config.devSP b/GMW/Web.config.devSP index b1cd5a12..9ddcbed6 100644 --- a/GMW/Web.config.devSP +++ b/GMW/Web.config.devSP @@ -52,11 +52,6 @@ - - - - - diff --git a/GMW/Web.config.devTK b/GMW/Web.config.devTK index 8a19279e..e82c8ad1 100644 --- a/GMW/Web.config.devTK +++ b/GMW/Web.config.devTK @@ -52,11 +52,6 @@ - - - - - diff --git a/GMW/WebUserControls/mod_assegnaNC.ascx.cs b/GMW/WebUserControls/mod_assegnaNC.ascx.cs index 593419aa..808e4265 100644 --- a/GMW/WebUserControls/mod_assegnaNC.ascx.cs +++ b/GMW/WebUserControls/mod_assegnaNC.ascx.cs @@ -20,7 +20,7 @@ namespace GMW.WebUserControls { if (!Page.IsPostBack) { - mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGridShort"); + mod_righePag.numRowPag = memLayer.ML.cdvi("_righeDataGridShort"); grView.PageSize = mod_righePag.numRowPag; ddlSelTipo.DataBind(); rebindPart(); diff --git a/GMW/WebUserControls/mod_checkDelibLogNc.ascx.cs b/GMW/WebUserControls/mod_checkDelibLogNc.ascx.cs index 27b20348..856a4fbf 100644 --- a/GMW/WebUserControls/mod_checkDelibLogNc.ascx.cs +++ b/GMW/WebUserControls/mod_checkDelibLogNc.ascx.cs @@ -17,7 +17,7 @@ namespace GMW.WebUserControls { if (!Page.IsPostBack) { - mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGridShort"); + mod_righePag.numRowPag = memLayer.ML.cdvi("_righeDataGridShort"); grView.PageSize = mod_righePag.numRowPag; ddlSelTipo.DataBind(); doUpdate(); diff --git a/GMW/WebUserControls/mod_delibLogNc.ascx.cs b/GMW/WebUserControls/mod_delibLogNc.ascx.cs index 35885594..9a2c0ce8 100644 --- a/GMW/WebUserControls/mod_delibLogNc.ascx.cs +++ b/GMW/WebUserControls/mod_delibLogNc.ascx.cs @@ -21,7 +21,7 @@ namespace GMW.WebUserControls { if (!Page.IsPostBack) { - mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGridShort"); + mod_righePag.numRowPag = memLayer.ML.cdvi("_righeDataGridShort"); grView.PageSize = mod_righePag.numRowPag; ddlSelTipo.DataBind(); doUpdate(); diff --git a/GMW/WebUserControls/mod_elencoNC.ascx.cs b/GMW/WebUserControls/mod_elencoNC.ascx.cs index 578f0219..ae507277 100644 --- a/GMW/WebUserControls/mod_elencoNC.ascx.cs +++ b/GMW/WebUserControls/mod_elencoNC.ascx.cs @@ -30,7 +30,7 @@ namespace GMW.WebUserControls fixVisibility(); if (!Page.IsPostBack) { - mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGrid"); + mod_righePag.numRowPag = memLayer.ML.cdvi("_righeDataGrid"); grView.PageSize = mod_righePag.numRowPag; } mod_righePag.eh_newNum += mod_righePag_eh_newNum; diff --git a/GMW/WebUserControls/mod_manSAO.ascx.cs b/GMW/WebUserControls/mod_manSAO.ascx.cs index 54b3b6d5..ecf12dff 100644 --- a/GMW/WebUserControls/mod_manSAO.ascx.cs +++ b/GMW/WebUserControls/mod_manSAO.ascx.cs @@ -175,7 +175,7 @@ namespace GMW.WebUserControls answ = Convert.ToInt32(txtNumRighe.Text.Trim()); if (answ == 0) { - answ = memLayer.ML.confReadInt("_righeDataGridMed"); + answ = memLayer.ML.cdvi("_righeDataGridMed"); txtNumRighe.Text = answ.ToString(); } } diff --git a/GMW/WebUserControls/mod_scaricoUdcObsoleti.ascx.cs b/GMW/WebUserControls/mod_scaricoUdcObsoleti.ascx.cs index f23c9b20..0004ca16 100644 --- a/GMW/WebUserControls/mod_scaricoUdcObsoleti.ascx.cs +++ b/GMW/WebUserControls/mod_scaricoUdcObsoleti.ascx.cs @@ -18,7 +18,7 @@ namespace GMW.WebUserControls { if (!Page.IsPostBack) { - mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGridShort"); + mod_righePag.numRowPag = memLayer.ML.cdvi("_righeDataGridShort"); grView.PageSize = mod_righePag.numRowPag; ddlSelTipo.DataBind(); doUpdate(); diff --git a/GMW/bin/Web.config b/GMW/bin/Web.config index 8a19279e..e82c8ad1 100644 --- a/GMW/bin/Web.config +++ b/GMW/bin/Web.config @@ -52,11 +52,6 @@ - - - - - diff --git a/GMW_data/DS_Applicazione.Designer.cs b/GMW_data/DS_Applicazione1.Designer.cs similarity index 100% rename from GMW_data/DS_Applicazione.Designer.cs rename to GMW_data/DS_Applicazione1.Designer.cs diff --git a/GMW_data/GMW_data.csproj b/GMW_data/GMW_data.csproj index eb5c9965..37752f1a 100644 --- a/GMW_data/GMW_data.csproj +++ b/GMW_data/GMW_data.csproj @@ -182,7 +182,7 @@ - + True True DS_Applicazione.xsd