diff --git a/C2P/C2P.csproj b/C2P/C2P.csproj index c7f3c6b..7beebe2 100644 --- a/C2P/C2P.csproj +++ b/C2P/C2P.csproj @@ -293,6 +293,7 @@ + @@ -370,6 +371,7 @@ + @@ -546,6 +548,13 @@ jumper.aspx + + listValues.aspx + ASPXCodeBehind + + + listValues.aspx + login.aspx ASPXCodeBehind @@ -759,6 +768,13 @@ mod_lemmiVocab.ascx + + mod_listValues.ascx + ASPXCodeBehind + + + mod_listValues.ascx + mod_login.ascx ASPXCodeBehind diff --git a/C2P/WebUserControls/mod_listValues.ascx b/C2P/WebUserControls/mod_listValues.ascx new file mode 100644 index 0000000..52d25e0 --- /dev/null +++ b/C2P/WebUserControls/mod_listValues.ascx @@ -0,0 +1,113 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listValues.ascx.cs" + Inherits="C2P.WebUserControls.mod_listValues" %> +<%-- +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +
+ +
+--%> +
+ + + + + + + + + + + + + + + + + +   + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%----%> + + + +   + + + + +    + + + + <%----%> + + + + + + + + + + + + + + + +
diff --git a/C2P/WebUserControls/mod_listValues.ascx.cs b/C2P/WebUserControls/mod_listValues.ascx.cs new file mode 100644 index 0000000..8de22b9 --- /dev/null +++ b/C2P/WebUserControls/mod_listValues.ascx.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace C2P.WebUserControls +{ + public partial class mod_listValues : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { +#if false + mod_filtroTableName.ods = odsTableName; +#endif + } + checkFixOds(); + } + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// update dei controlli filtraggio + /// + private void checkFixOds() + { + //ods.FilterExpression = " (value like '%{0}%' OR label like '%{0}%' OR (CONVERT(ordinal, 'System.String') LIKE '%{0}%')) "; + //// reimposto il filtro dell'ODS + //if (mod_filtroTableName.isChecked) + //{ + // //ods.FilterExpression += string.Format(" AND TableName ='{0}' ", mod_filtroTableName.valore); + //} + + //doUpdate(); + } + /// + /// selezionato un valore x elenco tabelle + /// + /// + /// + public void eh_selectedTable(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// effettuo update + /// + private void doUpdate() + { + //grView.SelectedIndex = -1; + //grView.DataBind(); + } + + /// + /// reset selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + // deseleziono e nascondo pnl statistiche... + grView.SelectedIndex = -1; + } + /// + /// evento post "aggancio" del grView x traduzione headers + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_listValues.ascx.designer.cs b/C2P/WebUserControls/mod_listValues.ascx.designer.cs new file mode 100644 index 0000000..551e445 --- /dev/null +++ b/C2P/WebUserControls/mod_listValues.ascx.designer.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace C2P.WebUserControls { + + + public partial class mod_listValues { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// odsTableName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTableName; + } +} diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index 2395e95..e7c34cc 100644 Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ diff --git a/C2P/listValues.aspx b/C2P/listValues.aspx new file mode 100644 index 0000000..4dff2c8 --- /dev/null +++ b/C2P/listValues.aspx @@ -0,0 +1,36 @@ +<%@ Page Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="listValues.aspx.cs" Inherits="C2P.listValues" Title="List Values" %> + +<%@ Register Src="WebUserControls/mod_listValues.ascx" TagName="mod_listValues" TagPrefix="uc1" %> + +<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc4" TagName="mod_ricercaGenerica" %> + + + + + + +
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + diff --git a/C2P/listValues.aspx.cs b/C2P/listValues.aspx.cs new file mode 100644 index 0000000..ba2d4e9 --- /dev/null +++ b/C2P/listValues.aspx.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; + +namespace C2P +{ + public partial class listValues : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/C2P/listValues.aspx.designer.cs b/C2P/listValues.aspx.designer.cs new file mode 100644 index 0000000..e474177 --- /dev/null +++ b/C2P/listValues.aspx.designer.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace C2P { + + + public partial class listValues { + + /// + /// mod_ricercaGenerica control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_ricercaGenerica mod_ricercaGenerica; + + /// + /// mod_righePag1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_righePag mod_righePag1; + + /// + /// mod_listValues1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_listValues mod_listValues1; + } +} diff --git a/C2P_CronJob/bin/Release/C2P_CronJob.application b/C2P_CronJob/bin/Release/C2P_CronJob.application index a606fff..7fe9bd4 100644 --- a/C2P_CronJob/bin/Release/C2P_CronJob.application +++ b/C2P_CronJob/bin/Release/C2P_CronJob.application @@ -11,7 +11,7 @@ - t4U7BWUoM18XexO2QaOCWnqjjSc= + IU0ybaENUH2CN9qChxc+ILKVEcE= diff --git a/C2P_CronJob/bin/Release/C2P_CronJob.exe.manifest b/C2P_CronJob/bin/Release/C2P_CronJob.exe.manifest index aceaaf6..53db708 100644 --- a/C2P_CronJob/bin/Release/C2P_CronJob.exe.manifest +++ b/C2P_CronJob/bin/Release/C2P_CronJob.exe.manifest @@ -84,19 +84,19 @@ - 8QQz293gRLl96YEQOpm6D0K/G8E= + 4wK91TK+73HRZPRwPds1F6a5U/Y= - + - GBj7zHqd8a/wj+36zYPn21SB4Js= + 7HISd7uIWX6EhafB3nUPEeIuC2s= diff --git a/C2P_CronJob/bin/Release/C2P_Data.dll b/C2P_CronJob/bin/Release/C2P_Data.dll index bd23ce5..249b9ba 100644 Binary files a/C2P_CronJob/bin/Release/C2P_Data.dll and b/C2P_CronJob/bin/Release/C2P_Data.dll differ diff --git a/C2P_Project/bin/Output/C2P_DB.dacpac b/C2P_Project/bin/Output/C2P_DB.dacpac index 5d91427..b719c60 100644 Binary files a/C2P_Project/bin/Output/C2P_DB.dacpac and b/C2P_Project/bin/Output/C2P_DB.dacpac differ diff --git a/C2P_Project/bin/Output/C2P_Project.dll b/C2P_Project/bin/Output/C2P_Project.dll index 8fc0935..2724cc7 100644 Binary files a/C2P_Project/bin/Output/C2P_Project.dll and b/C2P_Project/bin/Output/C2P_Project.dll differ diff --git a/C2P_Report/bin/C2P_Report.dll b/C2P_Report/bin/C2P_Report.dll index d6fbcac..d73d7c4 100644 Binary files a/C2P_Report/bin/C2P_Report.dll and b/C2P_Report/bin/C2P_Report.dll differ