diff --git a/MP-Admin/Web.Donati.config b/MP-Admin/Web.Donati.config index bad93da9..60690e79 100644 --- a/MP-Admin/Web.Donati.config +++ b/MP-Admin/Web.Donati.config @@ -10,6 +10,7 @@ + diff --git a/MP-Admin/Web.Jetco.config b/MP-Admin/Web.Jetco.config index 1997ccc5..9e1a27a7 100644 --- a/MP-Admin/Web.Jetco.config +++ b/MP-Admin/Web.Jetco.config @@ -10,6 +10,7 @@ + diff --git a/MP-Admin/Web.config b/MP-Admin/Web.config index 16743fe4..42573089 100644 --- a/MP-Admin/Web.config +++ b/MP-Admin/Web.config @@ -71,15 +71,8 @@ + - diff --git a/MP-Admin/WebUserControls/mod_gestPromODL.ascx b/MP-Admin/WebUserControls/mod_gestPromODL.ascx index c6be9e69..8ba509c2 100644 --- a/MP-Admin/WebUserControls/mod_gestPromODL.ascx +++ b/MP-Admin/WebUserControls/mod_gestPromODL.ascx @@ -1 +1,167 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestPromODL.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_gestPromODL" %> +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestPromODL.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_gestPromODL" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_newOdl.ascx" TagName="mod_newOdl" TagPrefix="uc1" %> + +
+
+ + +
+
+
+
+ +
+
+ Pezzi ODL: + +
+
+ Pezzi Pallet: + + +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + <%-- + + --%> + + + + <%-- + + --%> + + + + + + + + + + +
+ + +
+
+ +
+
+ +
+
+
+ + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + +
+
+    + + + + + + + + + + + + + + + + + + + +
+
+ mostra: + +
+
+
diff --git a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs b/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs index e50efe6c..24a79746 100644 --- a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs +++ b/MP-Admin/WebUserControls/mod_gestPromODL.ascx.cs @@ -1,7 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using MapoDb; +using SteamWare; +using System; +using System.Data; using System.Web.UI; using System.Web.UI.WebControls; @@ -9,9 +9,419 @@ namespace MoonProAdmin.WebUserControls { public partial class mod_gestPromODL : System.Web.UI.UserControl { - protected void Page_Load(object sender, EventArgs e) + + /// + /// dimensione pagina + /// + public int pageSize { + get + { + int answ = 10; + try + { + answ = Convert.ToInt32(txtPageSize.Text); + } + catch + { } + return answ; + } + set + { + txtPageSize.Text = value.ToString(); + } + } + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false); + // mostro edit quantità... + divEditQta.Visible = true; + btnNewOdl.Visible = true; + mod_newOdl1.Visible = false; + var riga = DataLayer.obj.taODL.getByIdx(idxOdlSel, false)[0]; + numPz = riga.NumPezzi; + pzPallet = riga.PzPallet; + } + /// + /// 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 = ""; + } + } + /// + /// 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; + //case "selAjax": + // e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + // break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // evento come nuovo... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + + #endregion + + #region are public + + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// effettua traduzione in inglese del lemma + /// + /// + /// + public string traduciEn(string lemma) + { + return user_std.UtSn.TraduciEn(lemma); + } + /// + /// 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(); + divEditQta.Visible = false; + mod_newOdl1.Visible = false; + btnNewOdl.Visible = true; + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } } + #endregion + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + + #endregion + + #region area da modificare + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + if (!Page.IsPostBack) + { + mod_newOdl1.Visible = false; + grView.PageSize = pageSize; + } + mod_newOdl1.eh_nuovoValore += new EventHandler(mod_newOdl1_eh_nuovoValore); + } + + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxODL"; + } + /// + /// nuovo valore creato... + /// + /// + /// + void mod_newOdl1_eh_nuovoValore(object sender, EventArgs e) + { + // nascondo controllo e mostro button + mod_newOdl1.Visible = false; + btnNewOdl.Visible = true; + // aggiorno! + resetSelezione(); + } + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + MapoDb.DS_ProdTempi.ODLDataTable tabella = new MapoDb.DS_ProdTempi.ODLDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + public bool delEnabled(object _idxOdl) + { + bool answ = false; + int idxOdl = 0; + // controllo non sia già stata iniziata la produzione sennò non posso cancellare... + try + { + idxOdl = Convert.ToInt32(_idxOdl); + answ = (MapoDb.DataLayer.obj.taODL.getByIdx(idxOdl, true).Count > 0); + } + catch + { } + return answ; + } + /// + /// mostra creazione nuovo ODL + /// + /// + /// + protected void btnNewOdl_Click(object sender, EventArgs e) + { + // mostro controllo creazione ODL + mod_newOdl1.Visible = true; + divEditQta.Visible = false; + btnNewOdl.Visible = false; + grView.SelectedIndex = -1; + grView.DataBind(); + } + /// + /// formatot url x stampa ODL + /// + /// + /// + public string formattaUrlOdl(object idx) + { + string answ = String.Format(memLayer.ML.confReadString("exportFormat1"), Convert.ToInt32(reportRichiesto.SchedaODL), idx); + return answ; + } + + /// + /// cambio dim pagina + /// + /// + /// + protected void txtPageSize_TextChanged(object sender, EventArgs e) + { + grView.PageSize = pageSize; + } + /// + /// verifica se ODL sia current = aperto (iniziato, NON concluso) + /// + /// + /// + /// + public bool OdlIsCurrent(object DataInizio, object DataFine) + { + bool answ = false; + try + { + if ((DataInizio.ToString() == "") && (DataFine.ToString() == "")) + { + answ = true; + } + } + catch + { } + if (!answ) + { + try + { + if ((Convert.ToDateTime(DataInizio) <= DateTime.Now) && (DataFine.ToString() == "")) + { + answ = true; + } + } + catch + { } + } + return answ; + } + + #endregion + + protected void btnOk_Click(object sender, EventArgs e) + { + if (idxOdlSel > 0) + { + DataLayer.obj.taODL.updateQta(numPz, pzPallet, idxOdlSel); + } + updateCtrl(); + } + + private void updateCtrl() + { + divEditQta.Visible = false; + grView.SelectedIndex = -1; + grView.DataBind(); + } + /// + /// idxOdl selezionato + /// + protected int idxOdlSel + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(grView.SelectedValue); + } + catch + { } + return answ; + } + } + /// + /// Nuovo num pz + /// + protected int numPz + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(txtNewQta.Text.Trim()); + } + catch + { } + return answ; + } + set + { + txtNewQta.Text = value.ToString(); + } + } + /// + /// Nuovo num pz per pallet + /// + protected int pzPallet + { + get + { + int answ = 1; + try + { + answ = Convert.ToInt32(txtNewPzPallet.Text.Trim()); + } + catch + { } + // controllo sia > 0... + if (answ < 1) + { + answ = 1; + } + + return answ; + } + set + { + txtNewPzPallet.Text = value.ToString(); + } + } + protected void btnCancel_Click(object sender, EventArgs e) + { + updateCtrl(); + } + } } \ No newline at end of file diff --git a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs b/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs index d9edb291..d178cce4 100644 --- a/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs +++ b/MP-Admin/WebUserControls/mod_gestPromODL.ascx.designer.cs @@ -1,17 +1,123 @@ //------------------------------------------------------------------------------ -// +// // Codice generato da uno strumento. // // Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace MoonProAdmin.WebUserControls -{ - - - public partial class mod_gestPromODL - { - } +namespace MoonProAdmin.WebUserControls { + + + public partial class mod_gestPromODL { + + /// + /// Controllo btnNewOdl. + /// + /// + /// 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.Button btnNewOdl; + + /// + /// Controllo mod_newOdl1. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::MoonPro_site.WebUserControls.mod_newOdl mod_newOdl1; + + /// + /// Controllo divEditQta. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEditQta; + + /// + /// Controllo btnOk. + /// + /// + /// 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.Button btnOk; + + /// + /// Controllo txtNewQta. + /// + /// + /// 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.TextBox txtNewQta; + + /// + /// Controllo txtNewPzPallet. + /// + /// + /// 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.TextBox txtNewPzPallet; + + /// + /// Controllo btnCancel. + /// + /// + /// 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.Button btnCancel; + + /// + /// Controllo grView. + /// + /// + /// 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 grView; + + /// + /// Controllo lblNumRec. + /// + /// + /// 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.Label lblNumRec; + + /// + /// Controllo lblWarning. + /// + /// + /// 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.Label lblWarning; + + /// + /// Controllo ods. + /// + /// + /// 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 ods; + + /// + /// Controllo txtPageSize. + /// + /// + /// 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.TextBox txtPageSize; + } } diff --git a/MP-Admin/WebUserControls/mod_gestioneODL.ascx b/MP-Admin/WebUserControls/mod_gestioneODL.ascx index 4ff7b559..1d2f1978 100644 --- a/MP-Admin/WebUserControls/mod_gestioneODL.ascx +++ b/MP-Admin/WebUserControls/mod_gestioneODL.ascx @@ -1,167 +1,167 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestioneODL.ascx.cs" - Inherits="MoonPro_site.WebUserControls.mod_gestioneODL" %> + Inherits="MoonPro_site.WebUserControls.mod_gestioneODL" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <%@ Register Src="mod_newOdl.ascx" TagName="mod_newOdl" TagPrefix="uc1" %>
-
- - -
-
-
-
- -
-
- Pezzi ODL: +
+ + +
+
+
+
+ +
+
+ Pezzi ODL: -
-
- Pezzi Pallet: +
+
+ Pezzi Pallet: -
-
- -
-
+
+
+ +
- - - - - - - - - - - - - - - - - - - - <%-- +
+ + + + + + + + + + + + + + + + + + + + <%-- --%> - - - - <%-- + + + + <%-- --%> - - - - - - - - - - -
- - -
-
- -
-
- -
-
-
- - - - -
- -
-
- - - - - - - - - - - - - - - - - - - <%----%> - - - - - - - - - - - - - - - - - - - - -
-
-    + + + + + + + + + + +
+ + +
+
+ +
+
+ +
+
+
+ + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + + + +    - - - - - - - - - - - - - - - - - - -
-
- mostra: + + + + + + + + + + + + + + + + + + +
+
+ mostra: -
+
diff --git a/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs b/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs index 54987da2..24dd7d09 100644 --- a/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs +++ b/MP-Admin/WebUserControls/mod_gestioneODL.ascx.designer.cs @@ -1,123 +1,122 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace MoonPro_site.WebUserControls -{ - - +namespace MoonPro_site.WebUserControls { + + public partial class mod_gestioneODL { /// - /// btnNewOdl control. + /// Controllo btnNewOdl. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.Button btnNewOdl; /// - /// mod_newOdl1 control. + /// Controllo mod_newOdl1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MoonPro_site.WebUserControls.mod_newOdl mod_newOdl1; /// - /// divEditQta control. + /// Controllo divEditQta. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEditQta; /// - /// btnOk control. + /// Controllo btnOk. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.Button btnOk; /// - /// txtNewQta control. + /// Controllo txtNewQta. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.TextBox txtNewQta; /// - /// txtNewPzPallet control. + /// Controllo txtNewPzPallet. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.TextBox txtNewPzPallet; /// - /// btnCancel control. + /// Controllo btnCancel. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.Button btnCancel; /// - /// grView control. + /// Controllo grView. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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 grView; /// - /// lblNumRec control. + /// Controllo lblNumRec. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.Label lblNumRec; /// - /// lblWarning control. + /// Controllo lblWarning. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.Label lblWarning; /// - /// ods control. + /// Controllo ods. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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 ods; /// - /// txtPageSize control. + /// Controllo txtPageSize. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// 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.TextBox txtPageSize; } diff --git a/MapoDb/DS_IntServ.xsc b/MapoDb/DS_IntServ.xsc new file mode 100644 index 00000000..05b01991 --- /dev/null +++ b/MapoDb/DS_IntServ.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/MapoDb/DS_IntServ.xsd b/MapoDb/DS_IntServ.xsd new file mode 100644 index 00000000..174c3395 --- /dev/null +++ b/MapoDb/DS_IntServ.xsd @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + DELETE FROM [dbo].[TransitoDati] WHERE (([IdxRequest] = @Original_IdxRequest) AND ([DtRequest] = @Original_DtRequest) AND ([DataType] = @Original_DataType) AND ([ValueIN] = @Original_ValueIN)) + + + + + + + + + + + INSERT INTO [dbo].[TransitoDati] ([DtRequest], [DataType], [ValueIN], [ValueOUT]) VALUES (@DtRequest, @DataType, @ValueIN, @ValueOUT); +SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHERE (IdxRequest = SCOPE_IDENTITY()) + + + + + + + + + + + SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM dbo.TransitoDati + + + + + + UPDATE [dbo].[TransitoDati] SET [DtRequest] = @DtRequest, [DataType] = @DataType, [ValueIN] = @ValueIN, [ValueOUT] = @ValueOUT WHERE (([IdxRequest] = @Original_IdxRequest) AND ([DtRequest] = @Original_DtRequest) AND ([DataType] = @Original_DataType) AND ([ValueIN] = @Original_ValueIN)); +SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHERE (IdxRequest = @IdxRequest) + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_OrdiniByKey + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MapoDb/DS_IntServ.xss b/MapoDb/DS_IntServ.xss new file mode 100644 index 00000000..5232d06a --- /dev/null +++ b/MapoDb/DS_IntServ.xss @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/MapoDb/MapoDb.csproj b/MapoDb/MapoDb.csproj index 553afb2c..f7879e7f 100644 --- a/MapoDb/MapoDb.csproj +++ b/MapoDb/MapoDb.csproj @@ -131,6 +131,16 @@ DS_applicazione.xsd + + DS_IntServ.xsd + + + Designer + MSDataSetGenerator + + + DS_IntServ.xsd + DS_ProdTempi.xsd diff --git a/MapoDb/Properties/Settings.Designer.cs b/MapoDb/Properties/Settings.Designer.cs index 554ced41..5a8dbb78 100644 --- a/MapoDb/Properties/Settings.Designer.cs +++ b/MapoDb/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace MapoDb.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -33,5 +33,16 @@ namespace MapoDb.Properties { return ((string)(this["MoonProConnectionString"])); } } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_ColCom;Persist Security Info=Tr" + + "ue;User ID=sa;Password=keyhammer16")] + public string MoonPro_IS_ConnectionString { + get { + return ((string)(this["MoonPro_IS_ConnectionString"])); + } + } } } diff --git a/MapoDb/Properties/Settings.settings b/MapoDb/Properties/Settings.settings index 83b682fd..fa681950 100644 --- a/MapoDb/Properties/Settings.settings +++ b/MapoDb/Properties/Settings.settings @@ -10,5 +10,13 @@ </SerializableConnectionString> Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16; + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_ColCom;Persist Security Info=True;User ID=sa;Password=keyhammer16</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_ColCom;Persist Security Info=True;User ID=sa;Password=keyhammer16 + \ No newline at end of file diff --git a/MapoDb/app.config b/MapoDb/app.config index 92440275..63bb8d90 100644 --- a/MapoDb/app.config +++ b/MapoDb/app.config @@ -3,7 +3,12 @@ - + +