diff --git a/CMS-SC-Data/DS_Applicazione.Designer.cs b/CMS-SC-Data/DS_Applicazione.Designer.cs index d43feb5..a63a22a 100644 --- a/CMS-SC-Data/DS_Applicazione.Designer.cs +++ b/CMS-SC-Data/DS_Applicazione.Designer.cs @@ -32,8 +32,6 @@ namespace CMS_SC_Data { private global::System.Data.DataRelation relationFK_ElencoSchedeMacchina_ElencoMacchineCN; - private global::System.Data.DataRelation relationElencoFamMacc_ElencoMacchineCN; - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -247,7 +245,6 @@ namespace CMS_SC_Data { } } this.relationFK_ElencoSchedeMacchina_ElencoMacchineCN = this.Relations["FK_ElencoSchedeMacchina_ElencoMacchineCN"]; - this.relationElencoFamMacc_ElencoMacchineCN = this.Relations["ElencoFamMacc_ElencoMacchineCN"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -268,10 +265,6 @@ namespace CMS_SC_Data { this.tableElencoMacchineCN.MatricolaColumn}, new global::System.Data.DataColumn[] { this.tableElencoSchedeMacchina.MatricolaColumn}, false); this.Relations.Add(this.relationFK_ElencoSchedeMacchina_ElencoMacchineCN); - this.relationElencoFamMacc_ElencoMacchineCN = new global::System.Data.DataRelation("ElencoFamMacc_ElencoMacchineCN", new global::System.Data.DataColumn[] { - this.tableElencoFamMacc.CodFamColumn}, new global::System.Data.DataColumn[] { - this.tableElencoMacchineCN.CodFamColumn}, false); - this.Relations.Add(this.relationElencoFamMacc_ElencoMacchineCN); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -642,7 +635,7 @@ namespace CMS_SC_Data { private global::System.Data.DataColumn columnDescrizione; - private global::System.Data.DataColumn columnFase; + private global::System.Data.DataColumn columnCliente; private global::System.Data.DataColumn columnCodFam; @@ -697,9 +690,9 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn FaseColumn { + public global::System.Data.DataColumn ClienteColumn { get { - return this.columnFase; + return this.columnCliente; } } @@ -748,16 +741,13 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public ElencoMacchineCNRow AddElencoMacchineCNRow(int Matricola, string Descrizione, int Fase, ElencoFamMaccRow parentElencoFamMaccRowByElencoFamMacc_ElencoMacchineCN) { + public ElencoMacchineCNRow AddElencoMacchineCNRow(string Matricola, string Descrizione, string Cliente, string CodFam) { ElencoMacchineCNRow rowElencoMacchineCNRow = ((ElencoMacchineCNRow)(this.NewRow())); object[] columnValuesArray = new object[] { Matricola, Descrizione, - Fase, - null}; - if ((parentElencoFamMaccRowByElencoFamMacc_ElencoMacchineCN != null)) { - columnValuesArray[3] = parentElencoFamMaccRowByElencoFamMacc_ElencoMacchineCN[0]; - } + Cliente, + CodFam}; rowElencoMacchineCNRow.ItemArray = columnValuesArray; this.Rows.Add(rowElencoMacchineCNRow); return rowElencoMacchineCNRow; @@ -765,7 +755,7 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public ElencoMacchineCNRow FindByMatricola(int Matricola) { + public ElencoMacchineCNRow FindByMatricola(string Matricola) { return ((ElencoMacchineCNRow)(this.Rows.Find(new object[] { Matricola}))); } @@ -789,28 +779,30 @@ namespace CMS_SC_Data { internal void InitVars() { this.columnMatricola = base.Columns["Matricola"]; this.columnDescrizione = base.Columns["Descrizione"]; - this.columnFase = base.Columns["Fase"]; + this.columnCliente = base.Columns["Cliente"]; this.columnCodFam = base.Columns["CodFam"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { - this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(int), null, global::System.Data.MappingType.Element); + this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMatricola); this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDescrizione); - this.columnFase = new global::System.Data.DataColumn("Fase", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnFase); + this.columnCliente = new global::System.Data.DataColumn("Cliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCliente); this.columnCodFam = new global::System.Data.DataColumn("CodFam", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodFam); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnMatricola}, true)); this.columnMatricola.AllowDBNull = false; this.columnMatricola.Unique = true; + this.columnMatricola.MaxLength = 50; this.columnDescrizione.AllowDBNull = false; this.columnDescrizione.MaxLength = 50; - this.columnFase.AllowDBNull = false; + this.columnCliente.AllowDBNull = false; + this.columnCliente.MaxLength = 50; this.columnCodFam.AllowDBNull = false; this.columnCodFam.MaxLength = 50; } @@ -1106,7 +1098,7 @@ namespace CMS_SC_Data { private void InitClass() { this.columnidxESM = new global::System.Data.DataColumn("idxESM", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidxESM); - this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(int), null, global::System.Data.MappingType.Element); + this.columnMatricola = new global::System.Data.DataColumn("Matricola", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMatricola); this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodScheda); @@ -1121,6 +1113,7 @@ namespace CMS_SC_Data { this.columnidxESM.ReadOnly = true; this.columnidxESM.Unique = true; this.columnMatricola.AllowDBNull = false; + this.columnMatricola.MaxLength = 50; this.columnCodScheda.AllowDBNull = false; this.columnCodScheda.MaxLength = 50; this.columnDescrizione.MaxLength = 10; @@ -1285,17 +1278,6 @@ namespace CMS_SC_Data { this[this.tableElencoFamMacc.DescrFamColumn] = value; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public ElencoMacchineCNRow[] GetElencoMacchineCNRows() { - if ((this.Table.ChildRelations["ElencoFamMacc_ElencoMacchineCN"] == null)) { - return new ElencoMacchineCNRow[0]; - } - else { - return ((ElencoMacchineCNRow[])(base.GetChildRows(this.Table.ChildRelations["ElencoFamMacc_ElencoMacchineCN"]))); - } - } } /// @@ -1314,9 +1296,9 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Matricola { + public string Matricola { get { - return ((int)(this[this.tableElencoMacchineCN.MatricolaColumn])); + return ((string)(this[this.tableElencoMacchineCN.MatricolaColumn])); } set { this[this.tableElencoMacchineCN.MatricolaColumn] = value; @@ -1336,12 +1318,12 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Fase { + public string Cliente { get { - return ((int)(this[this.tableElencoMacchineCN.FaseColumn])); + return ((string)(this[this.tableElencoMacchineCN.ClienteColumn])); } set { - this[this.tableElencoMacchineCN.FaseColumn] = value; + this[this.tableElencoMacchineCN.ClienteColumn] = value; } } @@ -1356,17 +1338,6 @@ namespace CMS_SC_Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public ElencoFamMaccRow ElencoFamMaccRow { - get { - return ((ElencoFamMaccRow)(this.GetParentRow(this.Table.ParentRelations["ElencoFamMacc_ElencoMacchineCN"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["ElencoFamMacc_ElencoMacchineCN"]); - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public ElencoSchedeMacchinaRow[] GetElencoSchedeMacchinaRows() { @@ -1406,9 +1377,9 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int Matricola { + public string Matricola { get { - return ((int)(this[this.tableElencoSchedeMacchina.MatricolaColumn])); + return ((string)(this[this.tableElencoSchedeMacchina.MatricolaColumn])); } set { this[this.tableElencoSchedeMacchina.MatricolaColumn] = value; @@ -2161,41 +2132,42 @@ namespace CMS_SC_Data.DS_ApplicazioneTableAdapters { tableMapping.DataSetTable = "ElencoMacchineCN"; tableMapping.ColumnMappings.Add("Matricola", "Matricola"); tableMapping.ColumnMappings.Add("Descrizione", "Descrizione"); - tableMapping.ColumnMappings.Add("Fase", "Fase"); + tableMapping.ColumnMappings.Add("Cliente", "Cliente"); tableMapping.ColumnMappings.Add("CodFam", "CodFam"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ElencoMacchineCN] WHERE (([Matricola] = @Original_Matricola) A" + - "ND ([Descrizione] = @Original_Descrizione) AND ([Fase] = @Original_Fase) AND ([C" + - "odFam] = @Original_CodFam))"; + "ND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) A" + + "ND ([CodFam] = @Original_CodFam))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[ElencoMacchineCN] ([Matricola], [Descrizione], [Fase], [CodFam" + - "]) VALUES (@Matricola, @Descrizione, @Fase, @CodFam);\r\nSELECT Matricola, Descriz" + - "ione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola)"; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[ElencoMacchineCN] ([Matricola], [Descrizione], [Cliente], [Cod" + + "Fam]) VALUES (@Matricola, @Descrizione, @Cliente, @CodFam);\r\nSELECT Matricola, D" + + "escrizione, Cliente, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola)" + + ""; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoMacchineCN] SET [Matricola] = @Matricola, [Descrizione] = @Descrizione, [Fase] = @Fase, [CodFam] = @CodFam WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Fase] = @Original_Fase) AND ([CodFam] = @Original_CodFam)); -SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola)"; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoMacchineCN] SET [Matricola] = @Matricola, [Descrizione] = @Descrizione, [Cliente] = @Cliente, [CodFam] = @CodFam WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam)); +SELECT Matricola, Descrizione, Cliente, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFam", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } @@ -2209,11 +2181,36 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico [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[1]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT Matricola, Descrizione, Fase, CodFam FROM dbo.ElencoMacchineCN"; + this._commandCollection[0].CommandText = "SELECT Matricola, Descrizione, Cliente, CodFam FROM dbo.ElencoMacchineCN"; 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_AM_deleteQuery"; + 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("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_AM_insertQuery"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_AM_UpdateQuery"; + 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("@Matricola", 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("@Descrizione", 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("@Cliente", 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("@CodFam", 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("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2273,15 +2270,25 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico [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.Delete, true)] - public virtual int Delete(int Original_Matricola, string Original_Descrizione, int Original_Fase, string Original_CodFam) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Matricola)); + public virtual int Delete(string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam) { + if ((Original_Matricola == null)) { + throw new global::System.ArgumentNullException("Original_Matricola"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Matricola)); + } if ((Original_Descrizione == null)) { throw new global::System.ArgumentNullException("Original_Descrizione"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Descrizione)); } - this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_Fase)); + if ((Original_Cliente == null)) { + throw new global::System.ArgumentNullException("Original_Cliente"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Cliente)); + } if ((Original_CodFam == null)) { throw new global::System.ArgumentNullException("Original_CodFam"); } @@ -2308,15 +2315,25 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico [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.Insert, true)] - public virtual int Insert(int Matricola, string Descrizione, int Fase, string CodFam) { - this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Matricola)); + public virtual int Insert(string Matricola, string Descrizione, string Cliente, string CodFam) { + if ((Matricola == null)) { + throw new global::System.ArgumentNullException("Matricola"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Matricola)); + } if ((Descrizione == null)) { throw new global::System.ArgumentNullException("Descrizione"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Descrizione)); } - this.Adapter.InsertCommand.Parameters[2].Value = ((int)(Fase)); + if ((Cliente == null)) { + throw new global::System.ArgumentNullException("Cliente"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Cliente)); + } if ((CodFam == null)) { throw new global::System.ArgumentNullException("CodFam"); } @@ -2343,29 +2360,49 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico [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.Update, true)] - public virtual int Update(int Matricola, string Descrizione, int Fase, string CodFam, int Original_Matricola, string Original_Descrizione, int Original_Fase, string Original_CodFam) { - this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(Matricola)); + public virtual int Update(string Matricola, string Descrizione, string Cliente, string CodFam, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam) { + if ((Matricola == null)) { + throw new global::System.ArgumentNullException("Matricola"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Matricola)); + } if ((Descrizione == null)) { throw new global::System.ArgumentNullException("Descrizione"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Descrizione)); } - this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Fase)); + if ((Cliente == null)) { + throw new global::System.ArgumentNullException("Cliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Cliente)); + } if ((CodFam == null)) { throw new global::System.ArgumentNullException("CodFam"); } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodFam)); } - this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_Matricola)); + if ((Original_Matricola == null)) { + throw new global::System.ArgumentNullException("Original_Matricola"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Matricola)); + } if ((Original_Descrizione == null)) { throw new global::System.ArgumentNullException("Original_Descrizione"); } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Descrizione)); } - this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_Fase)); + if ((Original_Cliente == null)) { + throw new global::System.ArgumentNullException("Original_Cliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Cliente)); + } if ((Original_CodFam == null)) { throw new global::System.ArgumentNullException("Original_CodFam"); } @@ -2392,8 +2429,137 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico [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.Update, true)] - public virtual int Update(string Descrizione, int Fase, string CodFam, int Original_Matricola, string Original_Descrizione, int Original_Fase, string Original_CodFam) { - return this.Update(Original_Matricola, Descrizione, Fase, CodFam, Original_Matricola, Original_Descrizione, Original_Fase, Original_CodFam); + public virtual int Update(string Descrizione, string Cliente, string CodFam, string Original_Matricola, string Original_Descrizione, string Original_Cliente, string Original_CodFam) { + return this.Update(Original_Matricola, Descrizione, Cliente, CodFam, Original_Matricola, Original_Descrizione, Original_Cliente, Original_CodFam); + } + + [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.Delete, false)] + public virtual int deleteQuery(string Original_Matricola) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_Matricola == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_Matricola)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [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.Insert, false)] + public virtual int insertQuery(string Matricola, string Descrizione, string Cliente, string CodFam) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((Matricola == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Matricola)); + } + if ((Descrizione == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Descrizione)); + } + if ((Cliente == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Cliente)); + } + if ((CodFam == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(CodFam)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [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.Update, false)] + public virtual int updateQuery(string Matricola, string Descrizione, string Cliente, string CodFam, string Original_Matricola) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((Matricola == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Matricola)); + } + if ((Descrizione == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Descrizione)); + } + if ((Cliente == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Cliente)); + } + if ((CodFam == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(CodFam)); + } + if ((Original_Matricola == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(Original_Matricola)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; } } @@ -2528,7 +2694,7 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ElencoSchedeMacchina] WHERE (([idxESM] = @Original_idxESM) AND ([Matricola] = @Original_Matricola) AND ([CodScheda] = @Original_CodScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxESM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxESM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); @@ -2538,7 +2704,7 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico ") VALUES (@Matricola, @CodScheda, @Descrizione);\r\nSELECT idxESM, Matricola, CodS" + "cheda, Descrizione FROM ElencoSchedeMacchina WHERE (idxESM = SCOPE_IDENTITY())"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); @@ -2546,11 +2712,11 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoSchedeMacchina] SET [Matricola] = @Matricola, [CodScheda] = @CodScheda, [Descrizione] = @Descrizione WHERE (([idxESM] = @Original_idxESM) AND ([Matricola] = @Original_Matricola) AND ([CodScheda] = @Original_CodScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione))); SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE (idxESM = @idxESM)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxESM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxESM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matricola", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matricola", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); @@ -2631,9 +2797,14 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE [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.Delete, true)] - public virtual int Delete(int Original_idxESM, int Original_Matricola, string Original_CodScheda, string Original_Descrizione) { + public virtual int Delete(int Original_idxESM, string Original_Matricola, string Original_CodScheda, string Original_Descrizione) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxESM)); - this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_Matricola)); + if ((Original_Matricola == null)) { + throw new global::System.ArgumentNullException("Original_Matricola"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Matricola)); + } if ((Original_CodScheda == null)) { throw new global::System.ArgumentNullException("Original_CodScheda"); } @@ -2668,8 +2839,13 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE [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.Insert, true)] - public virtual int Insert(int Matricola, string CodScheda, string Descrizione) { - this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Matricola)); + public virtual int Insert(string Matricola, string CodScheda, string Descrizione) { + if ((Matricola == null)) { + throw new global::System.ArgumentNullException("Matricola"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Matricola)); + } if ((CodScheda == null)) { throw new global::System.ArgumentNullException("CodScheda"); } @@ -2702,8 +2878,13 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE [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.Update, true)] - public virtual int Update(int Matricola, string CodScheda, string Descrizione, int Original_idxESM, int Original_Matricola, string Original_CodScheda, string Original_Descrizione, int idxESM) { - this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(Matricola)); + public virtual int Update(string Matricola, string CodScheda, string Descrizione, int Original_idxESM, string Original_Matricola, string Original_CodScheda, string Original_Descrizione, int idxESM) { + if ((Matricola == null)) { + throw new global::System.ArgumentNullException("Matricola"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Matricola)); + } if ((CodScheda == null)) { throw new global::System.ArgumentNullException("CodScheda"); } @@ -2717,7 +2898,12 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Descrizione)); } this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_idxESM)); - this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_Matricola)); + if ((Original_Matricola == null)) { + throw new global::System.ArgumentNullException("Original_Matricola"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Matricola)); + } if ((Original_CodScheda == null)) { throw new global::System.ArgumentNullException("Original_CodScheda"); } @@ -2753,7 +2939,7 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE [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.Update, true)] - public virtual int Update(int Matricola, string CodScheda, string Descrizione, int Original_idxESM, int Original_Matricola, string Original_CodScheda, string Original_Descrizione) { + public virtual int Update(string Matricola, string CodScheda, string Descrizione, int Original_idxESM, string Original_Matricola, string Original_CodScheda, string Original_Descrizione) { return this.Update(Matricola, CodScheda, Descrizione, Original_idxESM, Original_Matricola, Original_CodScheda, Original_Descrizione, Original_idxESM); } } @@ -2897,15 +3083,6 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateUpdatedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { int result = 0; - if ((this._elencoFamMaccTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._elencoFamMaccTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._elencoMacchineCNTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -2915,6 +3092,15 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE allChangedRows.AddRange(updatedRows); } } + if ((this._elencoFamMaccTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoFamMaccTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._elencoSchedeMacchinaTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.ElencoSchedeMacchina.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -2934,14 +3120,6 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateInsertedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allAddedRows) { int result = 0; - if ((this._elencoFamMaccTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._elencoFamMaccTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._elencoMacchineCNTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -2950,6 +3128,14 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE allAddedRows.AddRange(addedRows); } } + if ((this._elencoFamMaccTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoFamMaccTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._elencoSchedeMacchinaTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.ElencoSchedeMacchina.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -2976,14 +3162,6 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE allChangedRows.AddRange(deletedRows); } } - if ((this._elencoMacchineCNTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._elencoMacchineCNTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._elencoFamMaccTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.ElencoFamMacc.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -2992,6 +3170,14 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE allChangedRows.AddRange(deletedRows); } } + if ((this._elencoMacchineCNTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoMacchineCN.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoMacchineCNTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } return result; } diff --git a/CMS-SC-Data/DS_Applicazione.xsd b/CMS-SC-Data/DS_Applicazione.xsd index e53e5a0..7f51bea 100644 --- a/CMS-SC-Data/DS_Applicazione.xsd +++ b/CMS-SC-Data/DS_Applicazione.xsd @@ -97,45 +97,45 @@ SELECT CodFam, DescrFam FROM ElencoFamMacc WHERE (CodFam = @CodFam) - DELETE FROM [dbo].[ElencoMacchineCN] WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Fase] = @Original_Fase) AND ([CodFam] = @Original_CodFam)) + DELETE FROM [dbo].[ElencoMacchineCN] WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam)) - + - + - INSERT INTO [dbo].[ElencoMacchineCN] ([Matricola], [Descrizione], [Fase], [CodFam]) VALUES (@Matricola, @Descrizione, @Fase, @CodFam); -SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola) + INSERT INTO [dbo].[ElencoMacchineCN] ([Matricola], [Descrizione], [Cliente], [CodFam]) VALUES (@Matricola, @Descrizione, @Cliente, @CodFam); +SELECT Matricola, Descrizione, Cliente, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola) - + - + - SELECT Matricola, Descrizione, Fase, CodFam FROM dbo.ElencoMacchineCN + SELECT Matricola, Descrizione, Cliente, CodFam FROM dbo.ElencoMacchineCN - UPDATE [dbo].[ElencoMacchineCN] SET [Matricola] = @Matricola, [Descrizione] = @Descrizione, [Fase] = @Fase, [CodFam] = @CodFam WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Fase] = @Original_Fase) AND ([CodFam] = @Original_CodFam)); -SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola) + UPDATE [dbo].[ElencoMacchineCN] SET [Matricola] = @Matricola, [Descrizione] = @Descrizione, [Cliente] = @Cliente, [CodFam] = @CodFam WHERE (([Matricola] = @Original_Matricola) AND ([Descrizione] = @Original_Descrizione) AND ([Cliente] = @Original_Cliente) AND ([CodFam] = @Original_CodFam)); +SELECT Matricola, Descrizione, Cliente, CodFam FROM ElencoMacchineCN WHERE (Matricola = @Matricola) - + - + - + - + @@ -145,10 +145,51 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico - + - + + + + + dbo.stp_AM_deleteQuery + + + + + + + + + + + dbo.stp_AM_insertQuery + + + + + + + + + + + + + + dbo.stp_AM_UpdateQuery + + + + + + + + + + + + @@ -158,7 +199,7 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico DELETE FROM [dbo].[ElencoSchedeMacchina] WHERE (([idxESM] = @Original_idxESM) AND ([Matricola] = @Original_Matricola) AND ([CodScheda] = @Original_CodScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione))) - + @@ -170,7 +211,7 @@ SELECT Matricola, Descrizione, Fase, CodFam FROM ElencoMacchineCN WHERE (Matrico INSERT INTO [dbo].[ElencoSchedeMacchina] ([Matricola], [CodScheda], [Descrizione]) VALUES (@Matricola, @CodScheda, @Descrizione); SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE (idxESM = SCOPE_IDENTITY()) - + @@ -187,11 +228,11 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE UPDATE [dbo].[ElencoSchedeMacchina] SET [Matricola] = @Matricola, [CodScheda] = @CodScheda, [Descrizione] = @Descrizione WHERE (([idxESM] = @Original_idxESM) AND ([Matricola] = @Original_Matricola) AND ([CodScheda] = @Original_CodScheda) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione))); SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE (idxESM = @idxESM) - + - + @@ -240,7 +281,13 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE - + + + + + + + @@ -248,7 +295,13 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE - + + + + + + + @@ -263,7 +316,13 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE - + + + + + + + @@ -299,7 +358,6 @@ SELECT idxESM, Matricola, CodScheda, Descrizione FROM ElencoSchedeMacchina WHERE - \ No newline at end of file diff --git a/CMS-SC-Data/DS_Applicazione.xss b/CMS-SC-Data/DS_Applicazione.xss index c6cf314..9ac0e6f 100644 --- a/CMS-SC-Data/DS_Applicazione.xss +++ b/CMS-SC-Data/DS_Applicazione.xss @@ -6,32 +6,20 @@ --> - - - + + + - + - 753 - 277 + 754 + 267 - 852 - 277 - - - - - - - 438 - 305 - - - 498 - 305 + 890 + 267 diff --git a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll index 8ce3cea..421ba95 100644 Binary files a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll and b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll differ diff --git a/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll b/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll index 8ce3cea..421ba95 100644 Binary files a/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll and b/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll differ diff --git a/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll index 90fdc9d..6813e44 100644 Binary files a/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/CMS_SC/AnagMatricole.aspx b/CMS_SC/AnagMatricole.aspx index 596bf20..abac652 100644 --- a/CMS_SC/AnagMatricole.aspx +++ b/CMS_SC/AnagMatricole.aspx @@ -1,7 +1,18 @@ <%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagMatricole.aspx.cs" Inherits="CMS_SC.AnagMatricole" %> + +<%@ Register Src="~/WebUserControls/mod_anagMatricole.ascx" TagName="mod_anagMatricole" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc2" %> +
+
+
+ + +
+
+
diff --git a/CMS_SC/AnagMatricole.aspx.cs b/CMS_SC/AnagMatricole.aspx.cs index 0be67b0..212d337 100644 --- a/CMS_SC/AnagMatricole.aspx.cs +++ b/CMS_SC/AnagMatricole.aspx.cs @@ -11,7 +11,18 @@ namespace CMS_SC { protected void Page_Load(object sender, EventArgs e) { + if (!Page.IsPostBack) + { + ((Bootstrap)this.Master).showSearch = true; + mod_righePag.numRowPag = 20; + mod_anagMatricole.pageSize = mod_righePag.numRowPag; + } + mod_righePag.eh_newNum += mod_righePag_eh_newNum; + } + void mod_righePag_eh_newNum(object sender, EventArgs e) + { + mod_anagMatricole.pageSize = mod_righePag.numRowPag; } } } \ No newline at end of file diff --git a/CMS_SC/AnagMatricole.aspx.designer.cs b/CMS_SC/AnagMatricole.aspx.designer.cs index 02c3bc7..37a5751 100644 --- a/CMS_SC/AnagMatricole.aspx.designer.cs +++ b/CMS_SC/AnagMatricole.aspx.designer.cs @@ -3,15 +3,31 @@ // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace CMS_SC -{ - - - public partial class AnagMatricole - { +namespace CMS_SC { + + + public partial class AnagMatricole { + + /// + /// mod_anagMatricole control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::CMS_SC.WebUserControls.mod_anagMatricole mod_anagMatricole; + + /// + /// mod_righePag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_righePag mod_righePag; } } diff --git a/CMS_SC/CMS_SC.csproj b/CMS_SC/CMS_SC.csproj index 20766dd..4c02bd7 100644 --- a/CMS_SC/CMS_SC.csproj +++ b/CMS_SC/CMS_SC.csproj @@ -147,7 +147,6 @@ - @@ -159,7 +158,6 @@ - @@ -267,6 +265,7 @@ + @@ -379,14 +378,6 @@ AnagSchedeColl.aspx - - - About.aspx - ASPXCodeBehind - - - About.aspx - Login.aspx ASPXCodeBehind @@ -431,13 +422,6 @@ Bootstrap.Master - - Contact.aspx - ASPXCodeBehind - - - Contact.aspx - Default.aspx ASPXCodeBehind @@ -505,6 +489,13 @@ mod_AnagFamMacc.ascx + + mod_anagMatricole.ascx + ASPXCodeBehind + + + mod_anagMatricole.ascx + mod_elencoRichResetUtenti.ascx ASPXCodeBehind diff --git a/CMS_SC/Content/Style.css b/CMS_SC/Content/Style.css index e3882e6..45c37a4 100644 --- a/CMS_SC/Content/Style.css +++ b/CMS_SC/Content/Style.css @@ -224,12 +224,12 @@ a:focus { text-decoration: none; } .subnavbar .mainnav > li.active > a { - background: #333; - color: #F90; + background: #333333; + color: #33AFFF; } .subnavbar .mainnav > li.active > a .caret { - border-top-color: #ff9900; - border-bottom-color: #ff9900; + border-top-color: #33AFFF; + border-bottom-color: #33AFFF; } .subnavbar .dropdown > .dropdown-menu { top: 97%; diff --git a/CMS_SC/Content/Style.less b/CMS_SC/Content/Style.less index 110f8e8..1f80904 100644 --- a/CMS_SC/Content/Style.less +++ b/CMS_SC/Content/Style.less @@ -274,13 +274,13 @@ a { } .subnavbar .mainnav > li.active > a { - background: #333; - color: #F90; + background: #333333; + color: #33AFFF; } .subnavbar .mainnav > li.active > a .caret { - border-top-color: #ff9900; - border-bottom-color: #ff9900; + border-top-color: #33AFFF; + border-bottom-color: #33AFFF; } .subnavbar .dropdown > .dropdown-menu { diff --git a/CMS_SC/Content/Style.min.css b/CMS_SC/Content/Style.min.css index 15a0cff..977252e 100644 --- a/CMS_SC/Content/Style.min.css +++ b/CMS_SC/Content/Style.min.css @@ -1 +1 @@ -#uppFeatured{margin-top:78px}.table-striped>tbody>tr:nth-child(odd)>th{background-image:linear-gradient(to bottom,#f5f5f5 0%,#e2e2e2 100%)}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:2px}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:4px 8px;font-size:12px;line-height:1.5;border-radius:3px}.paginatore{text-align:center;margin:auto}.paginatore>td>table>tbody>tr>td{padding:0 4px}.paginatore>td>table>tbody>tr>td>a{text-decoration:underline}body{font:12px/1.5em 'Open Sans';color:#333;background-color:#fafafa}a{color:#f90;text-decoration:none}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.bottomLine{padding-bottom:1px;border-bottom:1px solid #ccc}.bg-default{background-color:#fff}.didascalia{color:#696969;font-size:7pt}.didascaliaMed{color:#696969;font-size:9pt}.warnRed{color:red}.warnOrange{color:#ffa500}.allOk{color:green}.running{color:#242499}.navbar{min-height:15px}.navbar-text{margin-top:1px;margin-bottom:1px}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#ededed;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{border-color:#9cf;border-width:2px}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.titleBar{color:#f90}.navbar-brand{padding-left:20px;margin-top:-10px}.subnavbar{margin-bottom:.5em}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:70px;border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:70px;padding:0;margin:0}.subnavbar .mainnav>li{float:left;min-width:80px;height:70px;padding:0;margin:0;text-align:center;list-style:none}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#363636;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:2px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:160px;min-height:100px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:10px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:40px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:18px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){.navbar{padding-left:10px;padding-right:10px;margin-right:-20px;margin-left:-20px}.navbar .navbar-nav>li>.dropdown-menu::before,.navbar .navbar-nav>li>.dropdown-menu::after{display:none}.subnavbar .subnav-toggle{display:block}#main{padding:0 10px;margin-right:-20px;margin-left:-20px}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;padding-top:5px;padding-bottom:5px;margin-right:.5em;color:#ccc;font-size:13px;font-weight:600}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555 !important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}}@media(min-width:1200px){.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}} \ No newline at end of file +#uppFeatured{margin-top:78px}.table-striped>tbody>tr:nth-child(odd)>th{background-image:linear-gradient(to bottom,#f5f5f5 0%,#e2e2e2 100%)}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:2px}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:4px 8px;font-size:12px;line-height:1.5;border-radius:3px}.paginatore{text-align:center;margin:auto}.paginatore>td>table>tbody>tr>td{padding:0 4px}.paginatore>td>table>tbody>tr>td>a{text-decoration:underline}body{font:12px/1.5em 'Open Sans';color:#333;background-color:#fafafa}a{color:#f90;text-decoration:none}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.bottomLine{padding-bottom:1px;border-bottom:1px solid #ccc}.bg-default{background-color:#fff}.didascalia{color:#696969;font-size:7pt}.didascaliaMed{color:#696969;font-size:9pt}.warnRed{color:red}.warnOrange{color:#ffa500}.allOk{color:green}.running{color:#242499}.navbar{min-height:15px}.navbar-text{margin-top:1px;margin-bottom:1px}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#ededed;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{border-color:#9cf;border-width:2px}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.titleBar{color:#f90}.navbar-brand{padding-left:20px;margin-top:-10px}.subnavbar{margin-bottom:.5em}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:70px;border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:70px;padding:0;margin:0}.subnavbar .mainnav>li{float:left;min-width:80px;height:70px;padding:0;margin:0;text-align:center;list-style:none}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#363636;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:2px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#33afff}.subnavbar .mainnav>li.active>a .caret{border-top-color:#33afff;border-bottom-color:#33afff}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:160px;min-height:100px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:10px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:40px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:18px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){.navbar{padding-left:10px;padding-right:10px;margin-right:-20px;margin-left:-20px}.navbar .navbar-nav>li>.dropdown-menu::before,.navbar .navbar-nav>li>.dropdown-menu::after{display:none}.subnavbar .subnav-toggle{display:block}#main{padding:0 10px;margin-right:-20px;margin-left:-20px}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;padding-top:5px;padding-bottom:5px;margin-right:.5em;color:#ccc;font-size:13px;font-weight:600}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555 !important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}}@media(min-width:1200px){.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}} \ No newline at end of file diff --git a/CMS_SC/Global.asax.cs b/CMS_SC/Global.asax.cs index 1e7978e..3846c64 100644 --- a/CMS_SC/Global.asax.cs +++ b/CMS_SC/Global.asax.cs @@ -15,7 +15,6 @@ namespace CMS_SC { // Code that runs on application startup BundleConfig.RegisterBundles(BundleTable.Bundles); - AuthConfig.RegisterOpenAuth(); RouteConfig.RegisterRoutes(RouteTable.Routes); } diff --git a/CMS_SC/WebUserControls/mod_anagMatricole.ascx b/CMS_SC/WebUserControls/mod_anagMatricole.ascx new file mode 100644 index 0000000..886d7b5 --- /dev/null +++ b/CMS_SC/WebUserControls/mod_anagMatricole.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagMatricole.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_anagMatricole" %> + + + + + + + + + + + + + + diff --git a/CMS_SC/WebUserControls/mod_anagMatricole.ascx.cs b/CMS_SC/WebUserControls/mod_anagMatricole.ascx.cs new file mode 100644 index 0000000..1c49be2 --- /dev/null +++ b/CMS_SC/WebUserControls/mod_anagMatricole.ascx.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace CMS_SC.WebUserControls +{ + public partial class mod_anagMatricole : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + /// + /// dimensione pagina grid view + /// + public int pageSize + { + get + { + return grView.PageSize; + } + set + { + grView.PageSize = value; + } + } + } +} \ No newline at end of file diff --git a/CMS_SC/WebUserControls/mod_anagMatricole.ascx.designer.cs b/CMS_SC/WebUserControls/mod_anagMatricole.ascx.designer.cs new file mode 100644 index 0000000..3505866 --- /dev/null +++ b/CMS_SC/WebUserControls/mod_anagMatricole.ascx.designer.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace CMS_SC.WebUserControls { + + + public partial class mod_anagMatricole { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } +} diff --git a/CMS_SC/WebUserControls/mod_testata.ascx b/CMS_SC/WebUserControls/mod_testata.ascx index 8ef8e53..2b7ba5f 100644 --- a/CMS_SC/WebUserControls/mod_testata.ascx +++ b/CMS_SC/WebUserControls/mod_testata.ascx @@ -31,7 +31,7 @@ Home -
  • +
  • Anagrafiche @@ -71,7 +71,7 @@
  • <%: traduci("ReportCliente") %>
  • -
  • +
  • Settings @@ -80,7 +80,6 @@