diff --git a/GMW/GMW_Term/GMW_Term.csproj b/GMW/GMW_Term/GMW_Term.csproj
index 70ecbb26..93a73a9e 100644
--- a/GMW/GMW_Term/GMW_Term.csproj
+++ b/GMW/GMW_Term/GMW_Term.csproj
@@ -145,6 +145,13 @@
mod_search.ascx
+
+ mod_searchResults.ascx
+ ASPXCodeBehind
+
+
+ mod_searchResults.ascx
+
AutoCompletamento.asmx
Component
@@ -258,6 +265,7 @@
+
@@ -278,7 +286,7 @@
False
True
- 50888
+ 50077
/
diff --git a/GMW/GMW_Term/WebUserControls/mod_search.ascx b/GMW/GMW_Term/WebUserControls/mod_search.ascx
index 7d6c6213..3413f8c3 100644
--- a/GMW/GMW_Term/WebUserControls/mod_search.ascx
+++ b/GMW/GMW_Term/WebUserControls/mod_search.ascx
@@ -1,6 +1,7 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_search.ascx.cs"
Inherits="GMW_Term.WebUserControls.mod_search" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
+<%@ Register src="mod_searchResults.ascx" tagname="mod_searchResults" tagprefix="uc1" %>
+
+
diff --git a/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs
index 10fdf766..27ded1c0 100644
--- a/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs
+++ b/GMW/GMW_Term/WebUserControls/mod_search.ascx.cs
@@ -52,6 +52,12 @@ namespace GMW_Term.WebUserControls
{
Response.Redirect("Home.aspx");
}
+ if (!Page.IsPostBack)
+ {
+ memLayer.ML.emptySessionVal("searchTerm");
+ txtRicerca.Focus();
+ mod_searchResults1.Visible = false;
+ }
}
///
/// in caso di valore cercato...
@@ -61,6 +67,15 @@ namespace GMW_Term.WebUserControls
protected void txtRicerca_TextChanged(object sender, EventArgs e)
{
valoreRicerca = txtSearch;
+ updateSearchProviders();
+ }
+ ///
+ /// aggiorna i provider di ricerca con i valori consistenti trovati
+ ///
+ private void updateSearchProviders()
+ {
+ memLayer.ML.setSessionVal("searchTerm", txtRicerca.Text.Trim());
+ mod_searchResults1.Visible = true;
}
///
/// testo contenuto nella textbox
diff --git a/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
index b2b08ee5..7b4addeb 100644
--- a/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
+++ b/GMW/GMW_Term/WebUserControls/mod_search.ascx.designer.cs
@@ -68,12 +68,12 @@ namespace GMW_Term.WebUserControls {
protected global::System.Web.UI.WebControls.TextBox txtRicerca;
///
- /// aceSearch control.
+ /// mod_searchResults1 control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::AjaxControlToolkit.AutoCompleteExtender aceSearch;
+ protected global::GMW_Term.WebUserControls.mod_searchResults mod_searchResults1;
}
}
diff --git a/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx b/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx
new file mode 100644
index 00000000..4abf8b0b
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx
@@ -0,0 +1,84 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchResults.ascx.cs"
+ Inherits="GMW_Term.WebUserControls.mod_searchResults" %>
+<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%--
+
+
+
+
+
+ --%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%--
+
+
+
+
+
+
+
+
+
+
+
+
+
+ --%>
+
+
+
+
+
+
+
+
+
+
diff --git a/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx.cs b/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx.cs
new file mode 100644
index 00000000..590f101d
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx.cs
@@ -0,0 +1,665 @@
+using System;
+using System.Data;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using GMW_data;
+
+namespace GMW_Term.WebUserControls
+{
+ public partial class mod_searchResults : System.Web.UI.UserControl
+ {
+ #region area da NON modificare
+
+ #region area protected
+
+ protected string _idxGridView;
+ protected string _idxGridViewExt;
+ protected string _tabCache;
+ protected bool _showNewBtn = false;
+
+ ///
+ /// wrapper traduzione termini
+ ///
+ ///
+ ///
+ public string traduci(string lemma)
+ {
+ return user_std.UtSn.Traduci(lemma);
+ }
+
+
+ ///
+ /// imposta errore non cancellabilità per record correlati
+ ///
+ protected void setNoDeletableErrorMessage()
+ {
+ // mostro avviso di non cancellabilità...
+ lblWarning.Text = traduci("notDeletable_hasChild");
+ lblWarning.Visible = true;
+ grView.DataBind();
+ }
+ ///
+ /// esegue cancellazioen record
+ ///
+ protected void doDelete()
+ {
+ // posso cancellare...
+ lblWarning.Visible = false;
+ ods.Delete();
+ }
+ ///
+ /// Valida la cancellazione per i dati mostrati dal gridView
+ /// richiede sia preventivamentedichiarato _idxGridView
+ ///
+ ///
+ ///
+ protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e)
+ {
+ int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]);
+ if (objIsNotRelated(idx))
+ {
+ // annullo cancellazione...
+ e.Cancel = true;
+ // seleziono record... metto in session valore idx e poi ridisegno...
+ SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx);
+ setNoDeletableErrorMessage();
+ }
+ else
+ {
+ doDelete();
+ }
+ }
+
+ ///
+ /// recupera i dati di un nuovo record contenuti nel footer di un gridView;
+ /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...)
+ ///
+ ///
+ ///
+ protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
+ {
+ //recupero la riga footer...
+ DataColumnCollection colonne = colonneObj();
+ string nomeCol;
+ string tipoColonna = "";
+ foreach (DataColumn colonna in colonne)
+ {
+ nomeCol = colonna.ColumnName;
+ // cerco un textbox o quello che sia...
+ if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
+ {
+ tipoColonna = "textBox";
+ }
+ else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
+ {
+ tipoColonna = "dropDownList";
+ }
+ else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
+ {
+ tipoColonna = "checkBox";
+ }
+ else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null)
+ {
+ tipoColonna = "selAjax";
+ }
+ // in base al tipo salvo negli inputparameters dell'ODS
+ switch (tipoColonna)
+ {
+ case "textBox":
+ e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
+ break;
+ case "dropDownList":
+ e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
+ break;
+ case "checkBox":
+ e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
+ break;
+ default:
+ break;
+ }
+ tipoColonna = "";
+ }
+ }
+ ///
+ /// inserisce nuovo valore da footer
+ ///
+ ///
+ ///
+ protected void lblIns_click(object sender, EventArgs e)
+ {
+ // click su inserimento, chiamo il metodo insert dell'ObjectDataSource
+ ods.Insert();
+ SteamWare.memLayer.ML.emptyCacheVal(_tabCache);
+ }
+ ///
+ /// annulla inserimento nuovo valore da footer
+ ///
+ ///
+ ///
+ protected void lblCanc_click(object sender, EventArgs e)
+ {
+ // annullo inserimento: nascondo footer, bind controlli...
+ grView.FooterRow.Visible = false;
+ }
+
+
+ ///
+ /// traduce gli header delle colonne
+ ///
+ ///
+ ///
+ 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 = "";
+ }
+ }
+ ///
+ /// gestione evento richeista nuovo valore (mostra footer, ...)
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ // reset selezione...
+ resetSelezione();
+ // mostro il footer oppure la riga dei dettagli x nuovo...
+ if (grView.FooterRow != null)
+ {
+ grView.FooterRow.Visible = true;
+ }
+ // sollevo evento nuovo valore...
+ if (eh_nuovoValore != null)
+ {
+ eh_nuovoValore(this, new EventArgs());
+ }
+ }
+ ///
+ /// reset della selezione
+ ///
+ ///
+ ///
+ protected void btnReset_Click(object sender, EventArgs e)
+ {
+ resetSelezione();
+ }
+
+ #endregion
+
+ #region gestione eventi
+
+ public event EventHandler eh_resetSelezione;
+ public event EventHandler eh_nuovoValore;
+ public event EventHandler eh_selValore;
+
+ #endregion
+
+ #region public
+
+ ///
+ /// definisce visibilità btnNew
+ ///
+ public bool showNewBtn
+ {
+ get
+ {
+ return _showNewBtn;
+ }
+ set
+ {
+ _showNewBtn = value;
+ }
+ }
+ ///
+ /// effettua update del modulo
+ ///
+ public void doUpdate()
+ {
+ resetSelezione();
+ }
+
+ #endregion
+
+ #endregion
+
+
+
+ ///
+ /// metodi al caricamento della pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+#if false
+ // controllo se ci sia richiesta x mostrare dettagli...
+ if (memLayer.ML.BoolSessionObj("showDetListaPre"))
+ {
+ memLayer.ML.emptySessionVal("showDetListaPre");
+ showListDetails(memLayer.ML.StringSessionObj("CodListaAttiva"));
+ }
+#endif
+ }
+
+ ///
+ /// elenco colonne del datagrid
+ ///
+ ///
+ protected DataColumnCollection colonneObj()
+ {
+ DS_Utility.stp_ricercaFullTerminalinoDataTable tabella = new DS_Utility.stp_ricercaFullTerminalinoDataTable();
+ DataColumnCollection colonne = tabella.Columns;
+ return colonne;
+ }
+ ///
+ /// inizializzazione valori di default
+ ///
+ ///
+ protected override void OnInit(EventArgs e)
+ {
+ base.OnInit(e);
+ _idxGridView = "TipoSearch";
+
+ aggiornaControlliDataGL();
+ }
+ ///
+ /// aggiorna controlli datagrid e numero righe in pagina
+ ///
+ protected void aggiornaControlliDataGL()
+ {
+ grView.PageSize = 5;
+ }
+
+
+
+ ///
+ /// gestione cambio selezione valore
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// resetta la selezione dei valori in caso di modifiche su altri controlli
+ ///
+ public void resetSelezione()
+ {
+ SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
+ grView.SelectedIndex = -1;
+ grView.DataBind();
+ lblWarning.Visible = false;
+ }
+
+ ///
+ /// salvo in session che il prox comando è iniziare lista prelievo...
+ ///
+ ///
+ ///
+ protected void imgAzioneLista_Click(object sender, ImageClickEventArgs e)
+ {
+ ImageButton imgb = (ImageButton)sender;
+ SteamWare.memLayer.ML.setSessionVal("nextObjCommand", imgb.CommandArgument);
+ }
+ ///
+ /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo...
+ ///
+ ///
+ ///
+ protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e)
+ {
+ // carico l'idx dell'oggetto
+ string codLista = e.Keys["CodLista"].ToString();
+ // quale comando?
+ string _comando = "";
+ if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand"))
+ {
+ _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand");
+ SteamWare.memLayer.ML.emptySessionVal("nextObjCommand");
+ }
+ string CodSoggetto = MagClass.magazzino.CodSoggCurrUser;
+ switch (_comando)
+ {
+ case "IniziaListaPrelievo":
+ GMW_data.MagClass.magazzino.iniziaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto);
+ updateOds();
+ grView.EditIndex = -1;
+ grView.DataBind();
+ // sollevo evento nuovo valore...
+ if (eh_nuovoValore != null)
+ {
+ eh_nuovoValore(this, new EventArgs());
+ }
+ // blocco update!
+ e.Cancel = true;
+ break;
+ case "CompletaListaPrelievo":
+ GMW_data.MagClass.magazzino.completaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto);
+ updateOds();
+ grView.EditIndex = -1;
+ grView.DataBind();
+ // sollevo evento nuovo valore...
+ if (eh_nuovoValore != null)
+ {
+ eh_nuovoValore(this, new EventArgs());
+ }
+ // tolgo dalla session la lista prelievo attuale...
+ memLayer.ML.emptySessionVal("CodLista_sel");
+ // blocco update!
+ e.Cancel = true;
+ break;
+ default:
+ // faccio update!
+ break;
+ }
+ }
+
+ ///
+ /// chiamato post modifica valore check/selezione nel selettore filtro stato
+ ///
+ ///
+ ///
+ public void eh_selectedStato(object sender, EventArgs e)
+ {
+ checkFixOds();
+ }
+ ///
+ /// ssitema visualizzazione dal filtraggi
+ ///
+ private void checkFixOds()
+ {
+#if false
+ ods.FilterParameters.Clear();
+ ods.FilterExpression = "(CodLista LIKE '%{0}%' OR Particolare LIKE '%{0}%' OR DescParticolare LIKE '%{0}%')";
+ // parametro ricerca attuale
+ SessionParameter parametroFiltro = new SessionParameter();
+ parametroFiltro.SessionField = "valoreCercato";
+ parametroFiltro.Name = "ricerca";
+ parametroFiltro.DefaultValue = "*";
+ ods.FilterParameters.Add(parametroFiltro);
+
+#endif
+ // chiamo procedura che aggiorna ods principale
+ grView.SelectedIndex = -1;
+ updateOds();
+ }
+ ///
+ /// chiamato post modifica valore check/selezione nel selettore filtro tipo
+ ///
+ ///
+ ///
+ public void eh_selectedTipo(object sender, EventArgs e)
+ {
+ checkFixOds();
+ }
+ ///
+ /// restituisce URL immagine del codice da mostrare x stato lista
+ ///
+ ///
+ ///
+ public string pathImgStato(object codStato)
+ {
+ int stato = Convert.ToInt32(codStato);
+ string answ = "";
+ if (MagClass.magazzino.userHasActiveLP && stato == 1)
+ {
+ answ = string.Format("~/images/circleDis_s_{0}.png", codStato);
+ }
+ else
+ {
+ answ = string.Format("~/images/circle_s_{0}.png", codStato);
+ }
+ return answ;
+ }
+ ///
+ /// restituisce il comando da associare all'immagine dato lo stato della lista
+ ///
+ ///
+ ///
+ public string cmdArgStato(object codStato)
+ {
+ int stato = Convert.ToInt32(codStato);
+ string answ = "";
+ switch (stato)
+ {
+ case 1:
+ answ = "IniziaListaPrelievo";
+ break;
+ case 2:
+ answ = "CompletaListaPrelievo";
+ break;
+ }
+ return answ;
+ }
+ ///
+ /// verifica la possibilità di click dato lo stato della lista secondo la regola:
+ /// - se utente ne ha in carico una può solo chiuderla
+ /// - altrimenti può prendere in carico una nuova
+ ///
+ ///
+ ///
+ public bool enabledStato(object codStato)
+ {
+ int stato = Convert.ToInt32(codStato);
+ bool answ = false;
+ switch (stato)
+ {
+ case 1:
+ answ = !MagClass.magazzino.userHasActiveLP;
+ break;
+ case 2:
+ answ = MagClass.magazzino.userHasActiveLP;
+ break;
+ }
+ return answ;
+ }
+
+ ///
+ /// determina se sia abilitato il pulsante x iniziare una lista di prelievo
+ ///
+ ///
+ ///
+ public bool iniziaEnabled(object codStato)
+ {
+ bool answ = false;
+ try
+ {
+ answ = ((int)codStato == (int)statoLista.generata);
+ }
+ catch
+ { }
+ return answ;
+ }
+ ///
+ /// determina se sia abilitato il pulsante x completare una lista di prelievo
+ ///
+ ///
+ ///
+ public bool completaEnabled(object codStato)
+ {
+ bool answ = false;
+ try
+ {
+ answ = ((int)codStato == (int)statoLista.iniziata);
+ }
+ catch
+ { }
+ return answ;
+ }
+ ///
+ /// verifica se sia prelevabile
+ ///
+ ///
+ ///
+ ///
+ public bool prelevaEnabled(object statoPrelevata, object udc)
+ {
+ bool answ = prelievoEnabled;
+ if (prelievoEnabled)
+ {
+ // controllo se non risulti prelevato l'UDC in un altra lista...
+ if (udcPrelevato(udc))
+ {
+ answ = false;
+ }
+ else
+ {
+ try
+ {
+ answ = !Convert.ToBoolean(statoPrelevata);
+ }
+ catch
+ { }
+ }
+ }
+ return answ;
+ }
+ ///
+ /// verifica se sia annullabile il prelievo
+ ///
+ ///
+ ///
+ public bool annullaEnabled(object annullaPrelevata)
+ {
+ bool answ = prelievoEnabled;
+ if (prelievoEnabled)
+ {
+ try
+ {
+ answ = Convert.ToBoolean(annullaPrelevata);
+ }
+ catch
+ { }
+ }
+ return answ;
+ }
+ ///
+ /// determina se le righe di prelievo siano confermabili per prelievo (durante pick-up) - se c'è lista prelievo attiva ed è quella corrente!!!
+ ///
+ public bool prelievoEnabled
+ {
+ get
+ {
+ bool ListaInPrelievo = memLayer.ML.isInSessionObject("CodListaAttiva");
+ bool ListaSelOk = (memLayer.ML.StringSessionObj("CodListaAttiva") == memLayer.ML.StringSessionObj("CodLista_sel"));
+ return (ListaInPrelievo && ListaSelOk);
+ }
+ }
+ ///
+ /// fornisce verifica se l'udc sia già stato prelevato altrove...
+ ///
+ ///
+ ///
+ public bool udcPrelevato(object udc)
+ {
+ return GMW_data.MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(udc.ToString()).Rows.Count > 0;
+ }
+
+ ///
+ /// restituisce tooltip da mostrare x STATO lista
+ ///
+ ///
+ ///
+ public string tooltipStato(object codice)
+ {
+ return traduci(string.Format("StatoLista_{0}", codice));
+ }
+ ///
+ /// restituisce URL immagine del codice da mostrare x TIPO lista
+ ///
+ ///
+ ///
+ public string pathImgTipo(object codice)
+ {
+ return string.Format("~/images/lista_{0}_m.png", codice);
+ }
+ ///
+ /// restituisce tooltip da mostrare x TIPO lista
+ ///
+ ///
+ ///
+ public string tooltipTipo(object codice)
+ {
+ return traduci(codice.ToString());
+ }
+
+ ///
+ /// effettua logout...
+ ///
+ ///
+ ///
+ protected void btnLoginPage_Click(object sender, EventArgs e)
+ {
+ TermUtils.TU.forceLogOut();
+ Response.Redirect("~/Barcode.aspx");
+ }
+ ///
+ /// va alla pagina dei buttons principale
+ ///
+ ///
+ ///
+ protected void btnButtonsHome_Click(object sender, EventArgs e)
+ {
+ Response.Redirect("~/Home.aspx");
+ }
+ ///
+ /// nasconde dettagli
+ ///
+ ///
+ ///
+ protected void btnCloseDet_Click(object sender, EventArgs e)
+ {
+ //pnlDetail.Visible = false;
+ //grView.Visible = true;
+ // ricarico x evitare proliferazione "_" su prima colonna
+ Response.Redirect("~/ListePrelievo.aspx");
+ }
+ ///
+ /// passa al barcode!
+ ///
+ ///
+ ///
+ protected void btnBarcode_Click(object sender, EventArgs e)
+ {
+ Response.Redirect("~/Barcode.aspx");
+ }
+ ///
+ /// salvo in session che il prox comando è confermare prelievo...
+ ///
+ ///
+ ///
+ protected void imgPrelevato_Click(object sender, ImageClickEventArgs e)
+ {
+ SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "confermaPrelievo");
+ }
+ ///
+ /// salvo in session che il prox comando è annullare prelievo...
+ ///
+ ///
+ ///
+ protected void imgAnnullato_Click(object sender, ImageClickEventArgs e)
+ {
+ SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "annullaPrelievo");
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx.designer.cs b/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx.designer.cs
new file mode 100644
index 00000000..bfcc362a
--- /dev/null
+++ b/GMW/GMW_Term/WebUserControls/mod_searchResults.ascx.designer.cs
@@ -0,0 +1,52 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace GMW_Term.WebUserControls {
+
+
+ public partial class mod_searchResults {
+
+ ///
+ /// 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;
+ }
+}
diff --git a/GMW/GMW_Term/bin/GMW_Term.dll b/GMW/GMW_Term/bin/GMW_Term.dll
index 58df9ee7..00ac49db 100644
Binary files a/GMW/GMW_Term/bin/GMW_Term.dll and b/GMW/GMW_Term/bin/GMW_Term.dll differ
diff --git a/GMW/GMW_Term/bin/GMW_data.dll b/GMW/GMW_Term/bin/GMW_data.dll
index d2b19fbd..70754cd4 100644
Binary files a/GMW/GMW_Term/bin/GMW_data.dll and b/GMW/GMW_Term/bin/GMW_data.dll differ
diff --git a/GMW/GMW_Term/bin/SteamWare.dll b/GMW/GMW_Term/bin/SteamWare.dll
index ff6ffb8c..1a2b6945 100644
Binary files a/GMW/GMW_Term/bin/SteamWare.dll and b/GMW/GMW_Term/bin/SteamWare.dll differ
diff --git a/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt b/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt
index e67ad016..6a627e52 100644
--- a/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt
+++ b/GMW/GMW_Term/obj/Debug/GMW_Term.csproj.FileListAbsolute.txt
@@ -27,32 +27,3 @@ c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\ResolveAssemblyReference.cache
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.dll
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.pdb
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_Term.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_Term.pdb
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_data.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\SteamWare.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ICSharpCode.SharpZipLib.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.pdb
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_data.pdb
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\SteamWare.pdb
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\SteamWare.xml
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ar\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\cs\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\de\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\es\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\fr\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\he\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\hi\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\it\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ja\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ko\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\nl\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\pt\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\ru\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\tr-TR\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\zh-CHS\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\zh-CHT\AjaxControlToolkit.resources.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\ResolveAssemblyReference.cache
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.dll
-C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.pdb
diff --git a/GMW/GMW_Term/obj/Debug/GMW_Term.dll b/GMW/GMW_Term/obj/Debug/GMW_Term.dll
index 58df9ee7..00ac49db 100644
Binary files a/GMW/GMW_Term/obj/Debug/GMW_Term.dll and b/GMW/GMW_Term/obj/Debug/GMW_Term.dll differ
diff --git a/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache
index 88475c23..eedd9775 100644
Binary files a/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_Term/obj/Debug/ResolveAssemblyReference.cache differ