diff --git a/WebSCR.v11.suo b/WebSCR.v11.suo index d3472cd..70db03b 100644 Binary files a/WebSCR.v11.suo and b/WebSCR.v11.suo differ diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx b/WebSCR/WebUserControls/mod_Interventi.ascx index 02c4b20..565acd4 100644 --- a/WebSCR/WebUserControls/mod_Interventi.ascx +++ b/WebSCR/WebUserControls/mod_Interventi.ascx @@ -2,32 +2,58 @@
-
- - - - - - +
+
+ + + + + + +
+
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
- +
-
-
- - - - - - +
+
+ +
+
+
+ + + +
+
-
- - +
+ @@ -43,42 +69,116 @@ Nessun risultato - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+
+ + +
+
+ + +
+
+
+ +
+
+
+
+
+
+ + +   +   + + +
+
+
+
+
+ + +
+ +
+
+
+ + + + + + + + + + + +
+ +
+
+
+ + +
+ +
+ +
+
+
+ + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + +
+ +
+
+
+
- + + + + + + +
- diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.cs index ba66ba4..49a37c4 100644 --- a/WebSCR/WebUserControls/mod_Interventi.ascx.cs +++ b/WebSCR/WebUserControls/mod_Interventi.ascx.cs @@ -5,19 +5,98 @@ using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SteamWare; +using WebSCR_data; namespace WebSCR.WebUserControls { public partial class mod_Interventi : System.Web.UI.UserControl { + public event EventHandler eh_selData; + /// + /// solleva evento selezione data + /// + protected void reportEvent() + { + // evento! + if (eh_selData != null) + { + eh_selData(this, new EventArgs()); + } + } + /// + /// numero giorni selezionati + /// + public int numGG + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(txtNumGG.Text.Trim()); + } + catch + { } + return answ; + } + set + { + int newVal = 0; + if (value >= newVal) newVal = value; + txtNumGG.Text = newVal.ToString(); + } + } + + /// + /// data riferimento + /// + public DateTime dataFrom + { + get + { + DateTime answ = DateTime.Now.Date; + try + { + answ = Convert.ToDateTime(txtDataFrom.Text.Trim()); + } + catch + { } + return answ; + } + set + { + txtDataFrom.Text = value.ToString("yyyy-MM-dd"); + } + } + /// + /// data selezionata (da query string o inizializzata... + /// + protected DateTime dataSel + { + get + { + DateTime answ = DateTime.Now; + if (memLayer.ML.isInSessionObject("DataStart")) + { + try + { + answ = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataStart")); + } + catch + { } + } + return answ; + } + set + { + memLayer.ML.setSessionVal("DataStart", value); + } + } protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { -#if false - memLayer.ML.emptySessionVal("Cliente"); - hlLocalUploader.NavigateUrl = memLayer.ML.confReadString("localUplURL"); -#endif + dataFrom = dataSel; } } /// @@ -25,18 +104,70 @@ namespace WebSCR.WebUserControls /// public string lastCmd { get; set; } -#if false + protected void btnAllSquadre_Click(object sender, EventArgs e) + { + // resetto sel rbl + rblSquadre.SelectedIndex = -1; + } /// - /// gestione evento novo record + /// aggiungo/tolgo all'intervallo selezione /// /// /// - protected void btnNew_Click(object sender, EventArgs e) + protected void lbNumGg_Click(object sender, EventArgs e) { - // richiamo pagina di edit senza parametri x metodo NEW - Response.Redirect("ClientiEdit"); - } -#endif + int diff = 0; + try + { + LinkButton lb = (LinkButton)sender; + diff = Convert.ToInt32(lb.CommandArgument); + } + catch + { } + numGG = numGG + diff; + reportEvent(); + } + + protected void txtDataFrom_TextChanged(object sender, EventArgs e) + { + dataSel = Convert.ToDateTime(txtDataFrom.Text); + reportEvent(); + } + + protected void txtNumGG_TextChanged(object sender, EventArgs e) + { + reportEvent(); + } + /// + /// selezione nuova squadra... + /// + /// + /// + protected void rblSquadre_SelectedIndexChanged(object sender, EventArgs e) + { + // aggiorno controllo... + } + protected void grView_RowCommand(object sender, GridViewCommandEventArgs e) + { + // salvo il command argument... + lastCmd = e.CommandArgument.ToString(); + } + /// + /// verifica se valore passato รจ NON NULLO + /// + /// + /// + public bool notNull(object dataInizio) + { + bool answ = false; + try + { + answ = dataInizio.ToString() != ""; + } + catch + { } + return answ; + } /// /// evento selezione paziente... /// @@ -44,51 +175,29 @@ namespace WebSCR.WebUserControls /// protected void grView_SelectedIndexChanged(object sender, EventArgs e) { -#if false - // recupero dati paziente... - string CodCliente = ""; + // recupero dati paziente... + int IdxImpegno = 0; + DS_Applicazione.ImpegniRow riga;// = DtProxy.man.taImp.GetData()[0]; try { - CodCliente = grView.SelectedDataKey["CodCliente"].ToString(); - memLayer.ML.setSessionVal("CodCliente", CodCliente); - DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0]; - memLayer.ML.setSessionVal("Cliente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.CodFis)); - // mando a dettaglio con filtro x cliente! - Response.Redirect(string.Format("Interventi?FiltroCliente=1&ShowState=0&CodCliente={0}", grView.SelectedDataKey["CodCliente"])); - + IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]); + memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno); + riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0]; + memLayer.ML.setSessionVal("Cliente", string.Format("{0} ({1:dd/MM/yyyy})", riga.RagSoc, DateTime.Now)); + memLayer.ML.setSessionVal("CodCliente", riga.CodCliente); } - catch(Exception exc) + catch (Exception exc) { logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc)); - } -#endif + riga = DtProxy.man.taImp.GetData()[0]; + } + + //if (lastCmd == "select") + //{ + // mando su PIANIFICAZIONE intervento cliente! + Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno)); + //} } - protected void grView_RowCommand(object sender, GridViewCommandEventArgs e) - { - // salvo il command argument... - lastCmd = e.CommandArgument.ToString(); - } - /// - /// trimma una stringa alla lunghezza richiesta... - /// - /// - /// - /// - public string stringTrim(object _stringa, object _maxChar) - { - string answ = ""; - try - { - answ = _stringa.ToString(); - if (answ.Length > Convert.ToInt32(_maxChar)) - { - answ = answ.Substring(0, Convert.ToInt32(_maxChar)) + "[...]"; - } - } - catch - { } - return answ; - } } } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs index 17ccc25..bbfff6d 100644 --- a/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs @@ -22,22 +22,58 @@ namespace WebSCR.WebUserControls { protected global::System.Web.UI.WebControls.DropDownList ddlStato; /// - /// txtCerca control. + /// txtDataFrom control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox txtCerca; + protected global::System.Web.UI.WebControls.TextBox txtDataFrom; /// - /// ddlPeriodo control. + /// lbMinus5 control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.DropDownList ddlPeriodo; + protected global::System.Web.UI.WebControls.LinkButton lbMinus5; + + /// + /// lbMinus control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbMinus; + + /// + /// txtNumGG control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNumGG; + + /// + /// lbPlus control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbPlus; + + /// + /// lbPlus5 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbPlus5; /// /// txtSearch control. @@ -48,6 +84,33 @@ namespace WebSCR.WebUserControls { /// protected global::System.Web.UI.WebControls.TextBox txtSearch; + /// + /// btnAllSquadre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAllSquadre; + + /// + /// rblSquadre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RadioButtonList rblSquadre; + + /// + /// odsSquadre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre; + /// /// grView control. /// diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll index 0dac0f4..558582a 100644 Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll index bc76f04..196cddd 100644 Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ diff --git a/WebSCR_data/DS_Applicazione.Designer.cs b/WebSCR_data/DS_Applicazione.Designer.cs index c4f7d54..f6da4d8 100644 --- a/WebSCR_data/DS_Applicazione.Designer.cs +++ b/WebSCR_data/DS_Applicazione.Designer.cs @@ -2060,9 +2060,7 @@ namespace WebSCR_data { private global::System.Data.DataColumn columnCodCliente; - private global::System.Data.DataColumn columnCognome; - - private global::System.Data.DataColumn columnNome; + private global::System.Data.DataColumn columnRagSoc; private global::System.Data.DataColumn columnCodFis; @@ -2110,6 +2108,14 @@ namespace WebSCR_data { private global::System.Data.DataColumn columnDataMod; + private global::System.Data.DataColumn columnSTATO; + + private global::System.Data.DataColumn columnInizioInt; + + private global::System.Data.DataColumn columnFineInt; + + private global::System.Data.DataColumn columnNoteInt; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public ImpegniDataTable() { @@ -2177,17 +2183,9 @@ namespace WebSCR_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn CognomeColumn { + public global::System.Data.DataColumn RagSocColumn { get { - return this.columnCognome; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { - return this.columnNome; + return this.columnRagSoc; } } @@ -2375,6 +2373,38 @@ namespace WebSCR_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn STATOColumn { + get { + return this.columnSTATO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn InizioIntColumn { + get { + return this.columnInizioInt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FineIntColumn { + get { + return this.columnFineInt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteIntColumn { + get { + return this.columnNoteInt; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -2417,8 +2447,7 @@ namespace WebSCR_data { System.DateTime DataOra, string TipoOrario, string CodCliente, - string Cognome, - string Nome, + string RagSoc, string CodFis, string CodSquadra, string DescrSquadra, @@ -2441,15 +2470,18 @@ namespace WebSCR_data { bool Ascensore, int PianoCons, string UserMod, - System.DateTime DataMod) { + System.DateTime DataMod, + string STATO, + System.DateTime InizioInt, + System.DateTime FineInt, + string NoteInt) { ImpegniRow rowImpegniRow = ((ImpegniRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxImpegno, DataOra, TipoOrario, CodCliente, - Cognome, - Nome, + RagSoc, CodFis, CodSquadra, DescrSquadra, @@ -2472,7 +2504,11 @@ namespace WebSCR_data { Ascensore, PianoCons, UserMod, - DataMod}; + DataMod, + STATO, + InizioInt, + FineInt, + NoteInt}; rowImpegniRow.ItemArray = columnValuesArray; this.Rows.Add(rowImpegniRow); return rowImpegniRow; @@ -2506,8 +2542,7 @@ namespace WebSCR_data { this.columnDataOra = base.Columns["DataOra"]; this.columnTipoOrario = base.Columns["TipoOrario"]; this.columnCodCliente = base.Columns["CodCliente"]; - this.columnCognome = base.Columns["Cognome"]; - this.columnNome = base.Columns["Nome"]; + this.columnRagSoc = base.Columns["RagSoc"]; this.columnCodFis = base.Columns["CodFis"]; this.columnCodSquadra = base.Columns["CodSquadra"]; this.columnDescrSquadra = base.Columns["DescrSquadra"]; @@ -2531,6 +2566,10 @@ namespace WebSCR_data { this.columnPianoCons = base.Columns["PianoCons"]; this.columnUserMod = base.Columns["UserMod"]; this.columnDataMod = base.Columns["DataMod"]; + this.columnSTATO = base.Columns["STATO"]; + this.columnInizioInt = base.Columns["InizioInt"]; + this.columnFineInt = base.Columns["FineInt"]; + this.columnNoteInt = base.Columns["NoteInt"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2544,10 +2583,8 @@ namespace WebSCR_data { base.Columns.Add(this.columnTipoOrario); this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodCliente); - this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCognome); - this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnNome); + this.columnRagSoc = new global::System.Data.DataColumn("RagSoc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRagSoc); this.columnCodFis = new global::System.Data.DataColumn("CodFis", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodFis); this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element); @@ -2594,6 +2631,14 @@ namespace WebSCR_data { base.Columns.Add(this.columnUserMod); this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDataMod); + this.columnSTATO = new global::System.Data.DataColumn("STATO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSTATO); + this.columnInizioInt = new global::System.Data.DataColumn("InizioInt", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioInt); + this.columnFineInt = new global::System.Data.DataColumn("FineInt", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFineInt); + this.columnNoteInt = new global::System.Data.DataColumn("NoteInt", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNoteInt); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIdxImpegno}, true)); this.columnIdxImpegno.AllowDBNull = false; @@ -2601,10 +2646,11 @@ namespace WebSCR_data { this.columnDataOra.AllowDBNull = false; this.columnTipoOrario.AllowDBNull = false; this.columnTipoOrario.MaxLength = 10; - this.columnCodCliente.AllowDBNull = false; + this.columnCodCliente.ReadOnly = true; this.columnCodCliente.MaxLength = 50; - this.columnCognome.MaxLength = 50; - this.columnNome.MaxLength = 50; + this.columnRagSoc.ReadOnly = true; + this.columnRagSoc.MaxLength = 100; + this.columnCodFis.ReadOnly = true; this.columnCodFis.MaxLength = 50; this.columnCodSquadra.AllowDBNull = false; this.columnCodSquadra.MaxLength = 50; @@ -2638,6 +2684,9 @@ namespace WebSCR_data { this.columnUserMod.AllowDBNull = false; this.columnUserMod.MaxLength = 50; this.columnDataMod.AllowDBNull = false; + this.columnSTATO.ReadOnly = true; + this.columnSTATO.MaxLength = 8; + this.columnNoteInt.MaxLength = 2147483647; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -5051,7 +5100,12 @@ namespace WebSCR_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string CodCliente { get { - return ((string)(this[this.tableImpegni.CodClienteColumn])); + try { + return ((string)(this[this.tableImpegni.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'Impegni\' is DBNull.", e); + } } set { this[this.tableImpegni.CodClienteColumn] = value; @@ -5060,33 +5114,17 @@ namespace WebSCR_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Cognome { + public string RagSoc { get { try { - return ((string)(this[this.tableImpegni.CognomeColumn])); + return ((string)(this[this.tableImpegni.RagSocColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Cognome\' in table \'Impegni\' is DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'RagSoc\' in table \'Impegni\' is DBNull.", e); } } set { - this[this.tableImpegni.CognomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string Nome { - get { - try { - return ((string)(this[this.tableImpegni.NomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'Impegni\' is DBNull.", e); - } - } - set { - this[this.tableImpegni.NomeColumn] = value; + this[this.tableImpegni.RagSocColumn] = value; } } @@ -5355,26 +5393,90 @@ namespace WebSCR_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsCognomeNull() { - return this.IsNull(this.tableImpegni.CognomeColumn); + public string STATO { + get { + try { + return ((string)(this[this.tableImpegni.STATOColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'STATO\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.STATOColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetCognomeNull() { - this[this.tableImpegni.CognomeColumn] = global::System.Convert.DBNull; + public System.DateTime InizioInt { + get { + try { + return ((global::System.DateTime)(this[this.tableImpegni.InizioIntColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'InizioInt\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.InizioIntColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsNomeNull() { - return this.IsNull(this.tableImpegni.NomeColumn); + public System.DateTime FineInt { + get { + try { + return ((global::System.DateTime)(this[this.tableImpegni.FineIntColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FineInt\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.FineIntColumn] = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetNomeNull() { - this[this.tableImpegni.NomeColumn] = global::System.Convert.DBNull; + public string NoteInt { + get { + try { + return ((string)(this[this.tableImpegni.NoteIntColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NoteInt\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.NoteIntColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tableImpegni.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tableImpegni.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocNull() { + return this.IsNull(this.tableImpegni.RagSocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocNull() { + this[this.tableImpegni.RagSocColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -5400,6 +5502,54 @@ namespace WebSCR_data { public void SetFinePrevNull() { this[this.tableImpegni.FinePrevColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsSTATONull() { + return this.IsNull(this.tableImpegni.STATOColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetSTATONull() { + this[this.tableImpegni.STATOColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsInizioIntNull() { + return this.IsNull(this.tableImpegni.InizioIntColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetInizioIntNull() { + this[this.tableImpegni.InizioIntColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFineIntNull() { + return this.IsNull(this.tableImpegni.FineIntColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFineIntNull() { + this[this.tableImpegni.FineIntColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteIntNull() { + return this.IsNull(this.tableImpegni.NoteIntColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteIntNull() { + this[this.tableImpegni.NoteIntColumn] = global::System.Convert.DBNull; + } } /// @@ -8875,8 +9025,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca tableMapping.ColumnMappings.Add("DataOra", "DataOra"); tableMapping.ColumnMappings.Add("TipoOrario", "TipoOrario"); tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); - tableMapping.ColumnMappings.Add("Cognome", "Cognome"); - tableMapping.ColumnMappings.Add("Nome", "Nome"); + tableMapping.ColumnMappings.Add("RagSoc", "RagSoc"); tableMapping.ColumnMappings.Add("CodFis", "CodFis"); tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra"); tableMapping.ColumnMappings.Add("DescrSquadra", "DescrSquadra"); @@ -8900,6 +9049,10 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca tableMapping.ColumnMappings.Add("PianoCons", "PianoCons"); tableMapping.ColumnMappings.Add("UserMod", "UserMod"); tableMapping.ColumnMappings.Add("DataMod", "DataMod"); + tableMapping.ColumnMappings.Add("STATO", "STATO"); + tableMapping.ColumnMappings.Add("InizioInt", "InizioInt"); + tableMapping.ColumnMappings.Add("FineInt", "FineInt"); + tableMapping.ColumnMappings.Add("NoteInt", "NoteInt"); this._adapter.TableMappings.Add(tableMapping); } @@ -8913,10 +9066,10 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT * FROM v_elencoImpegni"; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; @@ -8932,36 +9085,45 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = "dbo.stp_Imp_insertQuery"; + this._commandCollection[3].CommandText = "dbo.stp_Imp_getBySearch"; this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGg", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "dbo.stp_Imp_updateQuery"; + this._commandCollection[4].CommandText = "dbo.stp_Imp_insertQuery"; this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "dbo.stp_Imp_updStart"; + this._commandCollection[5].CommandText = "dbo.stp_Imp_updateQuery"; this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_Imp_updStart"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", 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()] @@ -9022,11 +9184,46 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca return dataTable; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ImpegniDataTable getBySearch(string Stato, global::System.Nullable DataRif, global::System.Nullable NumGg, string CodSquadra) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((Stato == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Stato)); + } + if ((DataRif.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((NumGg.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(NumGg.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((CodSquadra == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodSquadra)); + } + DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int insertQuery(global::System.Nullable DataOra, string TipoOrario, string CodSquadra, string RifOC) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; if ((DataOra.HasValue == true)) { command.Parameters[1].Value = ((System.DateTime)(DataOra.Value)); } @@ -9072,7 +9269,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int updateQuery(global::System.Nullable Original_IdxImpegno, string TipoOrario, string CodSquadra, string RifOC, string NoteGen, string UrlDoc, global::System.Nullable NumOp, global::System.Nullable RitUsato, global::System.Nullable Ascensore, global::System.Nullable PianoCons, string UserMod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; if ((Original_IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value)); } @@ -9160,7 +9357,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int updStart(global::System.Nullable IdxImpegno, global::System.Nullable DataOraNew) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; if ((IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxImpegno.Value)); } diff --git a/WebSCR_data/DS_Applicazione.xsd b/WebSCR_data/DS_Applicazione.xsd index d887114..32d5e3b 100644 --- a/WebSCR_data/DS_Applicazione.xsd +++ b/WebSCR_data/DS_Applicazione.xsd @@ -483,7 +483,8 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca - SELECT * FROM v_elencoImpegni + SELECT * +FROM v_elencoImpegni @@ -494,8 +495,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca - - + @@ -519,6 +519,10 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca + + + + @@ -543,6 +547,20 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca + + + + dbo.stp_Imp_getBySearch + + + + + + + + + + @@ -849,7 +867,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -873,7 +891,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -909,7 +927,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -934,7 +952,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1018,7 +1036,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1030,28 +1048,21 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + - + - + - - - - - - - - + @@ -1140,10 +1151,26 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq + + + + + + + + + + + + + + + + - + @@ -1153,7 +1180,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1169,7 +1196,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1199,7 +1226,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1216,7 +1243,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + @@ -1295,7 +1322,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq - + \ No newline at end of file diff --git a/WebSCR_data/DS_Applicazione.xss b/WebSCR_data/DS_Applicazione.xss index 31d2782..7963e81 100644 --- a/WebSCR_data/DS_Applicazione.xss +++ b/WebSCR_data/DS_Applicazione.xss @@ -6,16 +6,16 @@ --> - + - - + + - + diff --git a/WebSCR_data/bin/Release/WebSCR_data.dll b/WebSCR_data/bin/Release/WebSCR_data.dll index bc76f04..196cddd 100644 Binary files a/WebSCR_data/bin/Release/WebSCR_data.dll and b/WebSCR_data/bin/Release/WebSCR_data.dll differ diff --git a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll index 13090e7..ec49eb4 100644 Binary files a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Release/WebSCR_data.dll b/WebSCR_data/obj/Release/WebSCR_data.dll index bc76f04..196cddd 100644 Binary files a/WebSCR_data/obj/Release/WebSCR_data.dll and b/WebSCR_data/obj/Release/WebSCR_data.dll differ