From bcd700c71ac75fdef740b248d39f8b2f827b64e1 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 9 Oct 2018 12:18:33 +0200 Subject: [PATCH] Modifica PRELIMINARE tab elencoDatiConfermati --- .../WebUserControls/mod_datiConfermati.ascx | 32 +- .../mod_datiConfermati.ascx.cs | 24 +- .../mod_datiConfermati.ascx.designer.cs | 45 +- MapoDb/DS_ProdTempi.Designer.cs | 849 ++++++++++++++++++ MapoDb/DS_ProdTempi.xsd | 99 +- MapoDb/DS_ProdTempi.xss | 49 +- 6 files changed, 1026 insertions(+), 72 deletions(-) diff --git a/MP-Site/WebUserControls/mod_datiConfermati.ascx b/MP-Site/WebUserControls/mod_datiConfermati.ascx index 0a57c770..696a7d33 100644 --- a/MP-Site/WebUserControls/mod_datiConfermati.ascx +++ b/MP-Site/WebUserControls/mod_datiConfermati.ascx @@ -1,7 +1,7 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_datiConfermati.ascx.cs" Inherits="MoonPro.WebUserControls.mod_datiConfermati" %>
- @@ -34,9 +34,8 @@ - -
---%> +<%-- - +--%> + + + + + <%-- + + + --%> + + + <%----%> + <%----%> + + + + + + + + + + + Excel Dati Confermati - solo macchina corrente  -   Excel Dati Confermati - tutte le macchine \ No newline at end of file diff --git a/MP-Site/WebUserControls/mod_datiConfermati.ascx.cs b/MP-Site/WebUserControls/mod_datiConfermati.ascx.cs index 358de78e..a6921f46 100644 --- a/MP-Site/WebUserControls/mod_datiConfermati.ascx.cs +++ b/MP-Site/WebUserControls/mod_datiConfermati.ascx.cs @@ -2,18 +2,20 @@ namespace MoonPro.WebUserControls { - public partial class mod_datiConfermati : System.Web.UI.UserControl + public partial class mod_datiConfermati : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) { - protected void Page_Load(object sender, EventArgs e) - { - } - /// - /// aggiorna visualizzazione - /// - public void doUpdate() - { - grv_DatiConfermati.DataBind(); - } } + /// + /// aggiorna visualizzazione + /// + public void doUpdate() + { +#if false + grv_DatiConfermati.DataBind(); +#endif + } + } } \ No newline at end of file diff --git a/MP-Site/WebUserControls/mod_datiConfermati.ascx.designer.cs b/MP-Site/WebUserControls/mod_datiConfermati.ascx.designer.cs index 4c9942c8..1613b275 100644 --- a/MP-Site/WebUserControls/mod_datiConfermati.ascx.designer.cs +++ b/MP-Site/WebUserControls/mod_datiConfermati.ascx.designer.cs @@ -1,51 +1,50 @@ //------------------------------------------------------------------------------ -// -// 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.WebUserControls -{ - - +namespace MoonPro.WebUserControls { + + public partial class mod_datiConfermati { /// - /// grv_DatiConfermati 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 grv_DatiConfermati; + protected global::System.Web.UI.WebControls.GridView grView; /// - /// ods_DatiConfermati 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_DatiConfermati; + protected global::System.Web.UI.WebControls.ObjectDataSource ods; /// - /// HyperLink1 control. + /// Controllo HyperLink1. /// /// - /// 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.HyperLink HyperLink1; /// - /// HyperLink3 control. + /// Controllo HyperLink3. /// /// - /// 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.HyperLink HyperLink3; } diff --git a/MapoDb/DS_ProdTempi.Designer.cs b/MapoDb/DS_ProdTempi.Designer.cs index b3f8c442..f0a36c8b 100644 --- a/MapoDb/DS_ProdTempi.Designer.cs +++ b/MapoDb/DS_ProdTempi.Designer.cs @@ -70,6 +70,8 @@ namespace MapoDb { private PromesseODLDataTable tablePromesseODL; + private ElencoConfermeProdDataTable tableElencoConfermeProd; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -167,6 +169,9 @@ namespace MapoDb { if ((ds.Tables["PromesseODL"] != null)) { base.Tables.Add(new PromesseODLDataTable(ds.Tables["PromesseODL"])); } + if ((ds.Tables["ElencoConfermeProd"] != null)) { + base.Tables.Add(new ElencoConfermeProdDataTable(ds.Tables["ElencoConfermeProd"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -415,6 +420,16 @@ namespace MapoDb { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoConfermeProdDataTable ElencoConfermeProd { + get { + return this.tableElencoConfermeProd; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -551,6 +566,9 @@ namespace MapoDb { if ((ds.Tables["PromesseODL"] != null)) { base.Tables.Add(new PromesseODLDataTable(ds.Tables["PromesseODL"])); } + if ((ds.Tables["ElencoConfermeProd"] != null)) { + base.Tables.Add(new ElencoConfermeProdDataTable(ds.Tables["ElencoConfermeProd"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -722,6 +740,12 @@ namespace MapoDb { this.tablePromesseODL.InitVars(); } } + this.tableElencoConfermeProd = ((ElencoConfermeProdDataTable)(base.Tables["ElencoConfermeProd"])); + if ((initTable == true)) { + if ((this.tableElencoConfermeProd != null)) { + this.tableElencoConfermeProd.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -778,6 +802,8 @@ namespace MapoDb { base.Tables.Add(this.tableStatoProd); this.tablePromesseODL = new PromesseODLDataTable(); base.Tables.Add(this.tablePromesseODL); + this.tableElencoConfermeProd = new ElencoConfermeProdDataTable(); + base.Tables.Add(this.tableElencoConfermeProd); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -918,6 +944,12 @@ namespace MapoDb { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private bool ShouldSerializeElencoConfermeProd() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -1042,6 +1074,9 @@ namespace MapoDb { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public delegate void PromesseODLRowChangeEventHandler(object sender, PromesseODLRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public delegate void ElencoConfermeProdRowChangeEventHandler(object sender, ElencoConfermeProdRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -9940,6 +9975,418 @@ namespace MapoDb { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoConfermeProdDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnDataOraConf; + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columnMatrApp; + + private global::System.Data.DataColumn columndataFrom; + + private global::System.Data.DataColumn columndataTo; + + private global::System.Data.DataColumn columnpezziConf; + + private global::System.Data.DataColumn columnpezziScar; + + private global::System.Data.DataColumn columnpezziDaRilav; + + private global::System.Data.DataColumn columnCommessaEsterna; + + private global::System.Data.DataColumn columnTipoConf; + + private global::System.Data.DataColumn columnCognomeNomeOpr; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdDataTable() { + this.TableName = "ElencoConfermeProd"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal ElencoConfermeProdDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected ElencoConfermeProdDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn DataOraConfColumn { + get { + return this.columnDataOraConf; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn MatrAppColumn { + get { + return this.columnMatrApp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn dataFromColumn { + get { + return this.columndataFrom; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn dataToColumn { + get { + return this.columndataTo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn pezziConfColumn { + get { + return this.columnpezziConf; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn pezziScarColumn { + get { + return this.columnpezziScar; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn pezziDaRilavColumn { + get { + return this.columnpezziDaRilav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn CommessaEsternaColumn { + get { + return this.columnCommessaEsterna; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn TipoConfColumn { + get { + return this.columnTipoConf; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn CognomeNomeOprColumn { + get { + return this.columnCognomeNomeOpr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdRow this[int index] { + get { + return ((ElencoConfermeProdRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void AddElencoConfermeProdRow(ElencoConfermeProdRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdRow AddElencoConfermeProdRow(System.DateTime DataOraConf, string idxMacchina, int MatrApp, System.DateTime dataFrom, System.DateTime dataTo, int pezziConf, int pezziScar, int pezziDaRilav, string CommessaEsterna, int TipoConf, string CognomeNomeOpr) { + ElencoConfermeProdRow rowElencoConfermeProdRow = ((ElencoConfermeProdRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + DataOraConf, + idxMacchina, + MatrApp, + dataFrom, + dataTo, + pezziConf, + pezziScar, + pezziDaRilav, + CommessaEsterna, + TipoConf, + CognomeNomeOpr}; + rowElencoConfermeProdRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoConfermeProdRow); + return rowElencoConfermeProdRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdRow FindByDataOraConfidxMacchina(System.DateTime DataOraConf, string idxMacchina) { + return ((ElencoConfermeProdRow)(this.Rows.Find(new object[] { + DataOraConf, + idxMacchina}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoConfermeProdDataTable cln = ((ElencoConfermeProdDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoConfermeProdDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal void InitVars() { + this.columnDataOraConf = base.Columns["DataOraConf"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columnMatrApp = base.Columns["MatrApp"]; + this.columndataFrom = base.Columns["dataFrom"]; + this.columndataTo = base.Columns["dataTo"]; + this.columnpezziConf = base.Columns["pezziConf"]; + this.columnpezziScar = base.Columns["pezziScar"]; + this.columnpezziDaRilav = base.Columns["pezziDaRilav"]; + this.columnCommessaEsterna = base.Columns["CommessaEsterna"]; + this.columnTipoConf = base.Columns["TipoConf"]; + this.columnCognomeNomeOpr = base.Columns["CognomeNomeOpr"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitClass() { + this.columnDataOraConf = new global::System.Data.DataColumn("DataOraConf", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOraConf); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.columnMatrApp = new global::System.Data.DataColumn("MatrApp", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatrApp); + this.columndataFrom = new global::System.Data.DataColumn("dataFrom", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndataFrom); + this.columndataTo = new global::System.Data.DataColumn("dataTo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndataTo); + this.columnpezziConf = new global::System.Data.DataColumn("pezziConf", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpezziConf); + this.columnpezziScar = new global::System.Data.DataColumn("pezziScar", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpezziScar); + this.columnpezziDaRilav = new global::System.Data.DataColumn("pezziDaRilav", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpezziDaRilav); + this.columnCommessaEsterna = new global::System.Data.DataColumn("CommessaEsterna", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCommessaEsterna); + this.columnTipoConf = new global::System.Data.DataColumn("TipoConf", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTipoConf); + this.columnCognomeNomeOpr = new global::System.Data.DataColumn("CognomeNomeOpr", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCognomeNomeOpr); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnDataOraConf, + this.columnidxMacchina}, true)); + this.columnDataOraConf.AllowDBNull = false; + this.columnidxMacchina.AllowDBNull = false; + this.columnidxMacchina.MaxLength = 50; + this.columnMatrApp.AllowDBNull = false; + this.columndataFrom.AllowDBNull = false; + this.columndataTo.AllowDBNull = false; + this.columnpezziConf.AllowDBNull = false; + this.columnpezziScar.AllowDBNull = false; + this.columnpezziDaRilav.AllowDBNull = false; + this.columnCommessaEsterna.AllowDBNull = false; + this.columnCommessaEsterna.MaxLength = 50; + this.columnTipoConf.AllowDBNull = false; + this.columnCognomeNomeOpr.ReadOnly = true; + this.columnCognomeNomeOpr.MaxLength = 101; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdRow NewElencoConfermeProdRow() { + return ((ElencoConfermeProdRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoConfermeProdRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoConfermeProdRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoConfermeProdRowChanged != null)) { + this.ElencoConfermeProdRowChanged(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoConfermeProdRowChanging != null)) { + this.ElencoConfermeProdRowChanging(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoConfermeProdRowDeleted != null)) { + this.ElencoConfermeProdRowDeleted(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoConfermeProdRowDeleting != null)) { + this.ElencoConfermeProdRowDeleting(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void RemoveElencoConfermeProdRow(ElencoConfermeProdRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_ProdTempi ds = new DS_ProdTempi(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ElencoConfermeProdDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -15106,6 +15553,160 @@ namespace MapoDb { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class ElencoConfermeProdRow : global::System.Data.DataRow { + + private ElencoConfermeProdDataTable tableElencoConfermeProd; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal ElencoConfermeProdRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoConfermeProd = ((ElencoConfermeProdDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public System.DateTime DataOraConf { + get { + return ((global::System.DateTime)(this[this.tableElencoConfermeProd.DataOraConfColumn])); + } + set { + this[this.tableElencoConfermeProd.DataOraConfColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string idxMacchina { + get { + return ((string)(this[this.tableElencoConfermeProd.idxMacchinaColumn])); + } + set { + this[this.tableElencoConfermeProd.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int MatrApp { + get { + return ((int)(this[this.tableElencoConfermeProd.MatrAppColumn])); + } + set { + this[this.tableElencoConfermeProd.MatrAppColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public System.DateTime dataFrom { + get { + return ((global::System.DateTime)(this[this.tableElencoConfermeProd.dataFromColumn])); + } + set { + this[this.tableElencoConfermeProd.dataFromColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public System.DateTime dataTo { + get { + return ((global::System.DateTime)(this[this.tableElencoConfermeProd.dataToColumn])); + } + set { + this[this.tableElencoConfermeProd.dataToColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int pezziConf { + get { + return ((int)(this[this.tableElencoConfermeProd.pezziConfColumn])); + } + set { + this[this.tableElencoConfermeProd.pezziConfColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int pezziScar { + get { + return ((int)(this[this.tableElencoConfermeProd.pezziScarColumn])); + } + set { + this[this.tableElencoConfermeProd.pezziScarColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int pezziDaRilav { + get { + return ((int)(this[this.tableElencoConfermeProd.pezziDaRilavColumn])); + } + set { + this[this.tableElencoConfermeProd.pezziDaRilavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string CommessaEsterna { + get { + return ((string)(this[this.tableElencoConfermeProd.CommessaEsternaColumn])); + } + set { + this[this.tableElencoConfermeProd.CommessaEsternaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int TipoConf { + get { + return ((int)(this[this.tableElencoConfermeProd.TipoConfColumn])); + } + set { + this[this.tableElencoConfermeProd.TipoConfColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string CognomeNomeOpr { + get { + try { + return ((string)(this[this.tableElencoConfermeProd.CognomeNomeOprColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNomeOpr\' nella tabella \'ElencoConfermeProd\' è DBN" + + "ull.", e); + } + } + set { + this[this.tableElencoConfermeProd.CognomeNomeOprColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsCognomeNomeOprNull() { + return this.IsNull(this.tableElencoConfermeProd.CognomeNomeOprColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetCognomeNomeOprNull() { + this[this.tableElencoConfermeProd.CognomeNomeOprColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -15887,6 +16488,40 @@ namespace MapoDb { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public class ElencoConfermeProdRowChangeEvent : global::System.EventArgs { + + private ElencoConfermeProdRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdRowChangeEvent(ElencoConfermeProdRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace MapoDb.DS_ProdTempiTableAdapters { @@ -27376,6 +28011,220 @@ FROM MappaStatoExpl"; } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoConfermeProdTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public ElencoConfermeProdTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "ElencoConfermeProd"; + tableMapping.ColumnMappings.Add("DataOraConf", "DataOraConf"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("MatrApp", "MatrApp"); + tableMapping.ColumnMappings.Add("dataFrom", "dataFrom"); + tableMapping.ColumnMappings.Add("dataTo", "dataTo"); + tableMapping.ColumnMappings.Add("pezziConf", "pezziConf"); + tableMapping.ColumnMappings.Add("pezziScar", "pezziScar"); + tableMapping.ColumnMappings.Add("pezziDaRilav", "pezziDaRilav"); + tableMapping.ColumnMappings.Add("CommessaEsterna", "CommessaEsterna"); + tableMapping.ColumnMappings.Add("TipoConf", "TipoConf"); + tableMapping.ColumnMappings.Add("CognomeNomeOpr", "CognomeNomeOpr"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; + } + + [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[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_ECP"; + 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_ECP_getByMacchinaPeriodo"; + 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("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [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.Fill, true)] + public virtual int Fill(DS_ProdTempi.ElencoConfermeProdDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [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, true)] + public virtual DS_ProdTempi.ElencoConfermeProdDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_ProdTempi.ElencoConfermeProdDataTable dataTable = new DS_ProdTempi.ElencoConfermeProdDataTable(); + 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_ProdTempi.ElencoConfermeProdDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((IdxMacchina == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); + } + if ((dataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((dataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_ProdTempi.ElencoConfermeProdDataTable dataTable = new DS_ProdTempi.ElencoConfermeProdDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/MapoDb/DS_ProdTempi.xsd b/MapoDb/DS_ProdTempi.xsd index 030b638a..938d6e96 100644 --- a/MapoDb/DS_ProdTempi.xsd +++ b/MapoDb/DS_ProdTempi.xsd @@ -2187,6 +2187,47 @@ ORDER BY idxPromessa DESC + + + + + + SELECT * +FROM v_ECP + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ECP_getByMacchinaPeriodo + + + + + + + + + + + @@ -2608,7 +2649,7 @@ ORDER BY idxPromessa DESC - + @@ -2689,7 +2730,7 @@ ORDER BY idxPromessa DESC - + @@ -2718,7 +2759,7 @@ ORDER BY idxPromessa DESC - + @@ -2730,7 +2771,7 @@ ORDER BY idxPromessa DESC - + @@ -2755,7 +2796,7 @@ ORDER BY idxPromessa DESC - + @@ -2793,7 +2834,7 @@ ORDER BY idxPromessa DESC - + @@ -2832,7 +2873,7 @@ ORDER BY idxPromessa DESC - + @@ -2898,7 +2939,7 @@ ORDER BY idxPromessa DESC - + @@ -2920,7 +2961,7 @@ ORDER BY idxPromessa DESC - + @@ -2990,6 +3031,41 @@ ORDER BY idxPromessa DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3070,5 +3146,10 @@ ORDER BY idxPromessa DESC + + + + + \ No newline at end of file diff --git a/MapoDb/DS_ProdTempi.xss b/MapoDb/DS_ProdTempi.xss index 9a7413ec..1eed5e45 100644 --- a/MapoDb/DS_ProdTempi.xss +++ b/MapoDb/DS_ProdTempi.xss @@ -4,31 +4,32 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file