diff --git a/CMS-SC-Data/DS_Utility.Designer.cs b/CMS-SC-Data/DS_Utility.Designer.cs index a656bb4..132d4f1 100644 --- a/CMS-SC-Data/DS_Utility.Designer.cs +++ b/CMS-SC-Data/DS_Utility.Designer.cs @@ -38,6 +38,8 @@ namespace CMS_SC_Data { private ListValuesDataTable tableListValues; + private v_selLingueDataTable tablev_selLingue; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -87,6 +89,9 @@ namespace CMS_SC_Data { if ((ds.Tables["ListValues"] != null)) { base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"])); } + if ((ds.Tables["v_selLingue"] != null)) { + base.Tables.Add(new v_selLingueDataTable(ds.Tables["v_selLingue"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -175,6 +180,16 @@ namespace CMS_SC_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selLingueDataTable v_selLingue { + get { + return this.tablev_selLingue; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -263,6 +278,9 @@ namespace CMS_SC_Data { if ((ds.Tables["ListValues"] != null)) { base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"])); } + if ((ds.Tables["v_selLingue"] != null)) { + base.Tables.Add(new v_selLingueDataTable(ds.Tables["v_selLingue"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -338,6 +356,12 @@ namespace CMS_SC_Data { this.tableListValues.InitVars(); } } + this.tablev_selLingue = ((v_selLingueDataTable)(base.Tables["v_selLingue"])); + if ((initTable == true)) { + if ((this.tablev_selLingue != null)) { + this.tablev_selLingue.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -362,6 +386,8 @@ namespace CMS_SC_Data { base.Tables.Add(this.tablev_selFasi); this.tableListValues = new ListValuesDataTable(); base.Tables.Add(this.tableListValues); + this.tablev_selLingue = new v_selLingueDataTable(); + base.Tables.Add(this.tablev_selLingue); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -406,6 +432,12 @@ namespace CMS_SC_Data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selLingue() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -482,6 +514,9 @@ namespace CMS_SC_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void ListValuesRowChangeEventHandler(object sender, ListValuesRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selLingueRowChangeEventHandler(object sender, v_selLingueRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -2448,6 +2483,281 @@ namespace CMS_SC_Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selLingueDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueDataTable() { + this.TableName = "v_selLingue"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selLingueDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selLingueDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueRow this[int index] { + get { + return ((v_selLingueRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selLingueRowChangeEventHandler v_selLingueRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selLingueRowChangeEventHandler v_selLingueRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selLingueRowChangeEventHandler v_selLingueRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selLingueRowChangeEventHandler v_selLingueRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selLingueRow(v_selLingueRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueRow Addv_selLingueRow(string value, string label) { + v_selLingueRow rowv_selLingueRow = ((v_selLingueRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selLingueRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selLingueRow); + return rowv_selLingueRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueRow FindByvalue(string value) { + return ((v_selLingueRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selLingueDataTable cln = ((v_selLingueDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selLingueDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 3; + this.columnlabel.AllowDBNull = false; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueRow Newv_selLingueRow() { + return ((v_selLingueRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selLingueRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selLingueRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selLingueRowChanged != null)) { + this.v_selLingueRowChanged(this, new v_selLingueRowChangeEvent(((v_selLingueRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selLingueRowChanging != null)) { + this.v_selLingueRowChanging(this, new v_selLingueRowChangeEvent(((v_selLingueRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selLingueRowDeleted != null)) { + this.v_selLingueRowDeleted(this, new v_selLingueRowChangeEvent(((v_selLingueRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selLingueRowDeleting != null)) { + this.v_selLingueRowDeleting(this, new v_selLingueRowChangeEvent(((v_selLingueRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selLingueRow(v_selLingueRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Utility ds = new DS_Utility(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_selLingueDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -2904,6 +3214,43 @@ namespace CMS_SC_Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selLingueRow : global::System.Data.DataRow { + + private v_selLingueDataTable tablev_selLingue; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selLingueRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selLingue = ((v_selLingueDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selLingue.valueColumn])); + } + set { + this[this.tablev_selLingue.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + return ((string)(this[this.tablev_selLingue.labelColumn])); + } + set { + this[this.tablev_selLingue.labelColumn] = value; + } + } + } + /// ///Row event argument class /// @@ -3141,6 +3488,40 @@ namespace CMS_SC_Data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selLingueRowChangeEvent : global::System.EventArgs { + + private v_selLingueRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueRowChangeEvent(v_selLingueRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace CMS_SC_Data.DS_UtilityTableAdapters { @@ -4902,6 +5283,174 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selLingueTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selLingueTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "v_selLingue"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::CMS_SC_Data.Properties.Settings.Default.CMS_SCConnectionString; + } + + [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[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selLingue"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [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.Fill, true)] + public virtual int Fill(DS_Utility.v_selLingueDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selLingueDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selLingueDataTable dataTable = new DS_Utility.v_selLingueDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/CMS-SC-Data/DS_Utility.xsd b/CMS-SC-Data/DS_Utility.xsd index a7f4928..0cf8ee2 100644 --- a/CMS-SC-Data/DS_Utility.xsd +++ b/CMS-SC-Data/DS_Utility.xsd @@ -291,6 +291,23 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN + + + + + + SELECT value, label FROM dbo.v_selLingue + + + + + + + + + + + @@ -299,7 +316,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -319,7 +336,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -339,7 +356,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -359,7 +376,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -379,7 +396,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -400,7 +417,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -420,7 +437,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN - + @@ -455,6 +472,26 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN + + + + + + + + + + + + + + + + + + + + @@ -479,5 +516,9 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN + + + + \ No newline at end of file diff --git a/CMS-SC-Data/DS_Utility.xss b/CMS-SC-Data/DS_Utility.xss index b4f5b26..ea4649b 100644 --- a/CMS-SC-Data/DS_Utility.xss +++ b/CMS-SC-Data/DS_Utility.xss @@ -6,13 +6,14 @@ --> - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll index 655de0d..f7a2cbe 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/bin/Debug/SteamWare.dll b/CMS-SC-Data/bin/Debug/SteamWare.dll index cc9f25c..e80c273 100644 Binary files a/CMS-SC-Data/bin/Debug/SteamWare.dll and b/CMS-SC-Data/bin/Debug/SteamWare.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 655de0d..f7a2cbe 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_Utility.Designer.cs.dll b/CMS-SC-Data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll index 8af69a5..b3ceaf8 100644 Binary files a/CMS-SC-Data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll and b/CMS-SC-Data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll differ diff --git a/CMS_SC/ReportCliente.aspx b/CMS_SC/ReportCliente.aspx index 2ee0a59..0be816c 100644 --- a/CMS_SC/ReportCliente.aspx +++ b/CMS_SC/ReportCliente.aspx @@ -12,7 +12,21 @@
-

<%: traduci("ReportCliente") %>

+
+

<%: traduci("ReportCliente") %>

+
+
+
+
+ Fase + + +
+
+ Lingua + + +
diff --git a/CMS_SC/ReportCliente.aspx.cs b/CMS_SC/ReportCliente.aspx.cs index 2c5d983..27261da 100644 --- a/CMS_SC/ReportCliente.aspx.cs +++ b/CMS_SC/ReportCliente.aspx.cs @@ -12,7 +12,11 @@ namespace CMS_SC { protected void Page_Load(object sender, EventArgs e) { - + if (!Page.IsPostBack) + { + mod_reportCompleto.Fase = ddlFase.SelectedValue; + mod_reportCompleto.Lingua = ddlLingue.SelectedValue; + } } /// /// wrapper traduzione @@ -23,5 +27,17 @@ namespace CMS_SC { return user_std.UtSn.Traduci(lemma); } + + protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e) + { + mod_reportCompleto.Fase = ddlFase.SelectedValue; + mod_reportCompleto.fixReport(); + } + + protected void ddlLingue_SelectedIndexChanged(object sender, EventArgs e) + { + mod_reportCompleto.Lingua = ddlLingue.SelectedValue; + mod_reportCompleto.fixReport(); + } } } \ No newline at end of file diff --git a/CMS_SC/ReportCliente.aspx.designer.cs b/CMS_SC/ReportCliente.aspx.designer.cs index a250999..99c4e2e 100644 --- a/CMS_SC/ReportCliente.aspx.designer.cs +++ b/CMS_SC/ReportCliente.aspx.designer.cs @@ -12,6 +12,42 @@ namespace CMS_SC { public partial class ReportCliente { + /// + /// ddlFase control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlFase; + + /// + /// odsFase control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFase; + + /// + /// ddlLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlLingue; + + /// + /// odsLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsLingue; + /// /// mod_reportCompleto control. /// diff --git a/CMS_SC/ReportCompatto.aspx b/CMS_SC/ReportCompatto.aspx index 26589f1..9e3396b 100644 --- a/CMS_SC/ReportCompatto.aspx +++ b/CMS_SC/ReportCompatto.aspx @@ -11,7 +11,21 @@
-

<%: traduci("ReportCompatto") %>

+
+

<%: traduci("ReportCompatto") %>

+
+
+
+
+ Fase + + +
+
+ Lingua + + +
diff --git a/CMS_SC/ReportCompatto.aspx.cs b/CMS_SC/ReportCompatto.aspx.cs index 1ef03c3..c3041ac 100644 --- a/CMS_SC/ReportCompatto.aspx.cs +++ b/CMS_SC/ReportCompatto.aspx.cs @@ -12,7 +12,11 @@ namespace CMS_SC { protected void Page_Load(object sender, EventArgs e) { - + if (!Page.IsPostBack) + { + mod_reportCompleto.Fase = ddlFase.SelectedValue; + mod_reportCompleto.Lingua = ddlLingue.SelectedValue; + } } /// /// wrapper traduzione @@ -23,5 +27,17 @@ namespace CMS_SC { return user_std.UtSn.Traduci(lemma); } + + protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e) + { + mod_reportCompleto.Fase = ddlFase.SelectedValue; + mod_reportCompleto.fixReport(); + } + + protected void ddlLingue_SelectedIndexChanged(object sender, EventArgs e) + { + mod_reportCompleto.Lingua = ddlLingue.SelectedValue; + mod_reportCompleto.fixReport(); + } } } \ No newline at end of file diff --git a/CMS_SC/ReportCompatto.aspx.designer.cs b/CMS_SC/ReportCompatto.aspx.designer.cs index 6e0ee4a..86a52bd 100644 --- a/CMS_SC/ReportCompatto.aspx.designer.cs +++ b/CMS_SC/ReportCompatto.aspx.designer.cs @@ -12,6 +12,42 @@ namespace CMS_SC { public partial class ReportCompatto { + /// + /// ddlFase control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlFase; + + /// + /// odsFase control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFase; + + /// + /// ddlLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlLingue; + + /// + /// odsLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsLingue; + /// /// mod_reportCompleto control. /// diff --git a/CMS_SC/ReportCompleto.aspx b/CMS_SC/ReportCompleto.aspx index 1f04666..cbe1f2d 100644 --- a/CMS_SC/ReportCompleto.aspx +++ b/CMS_SC/ReportCompleto.aspx @@ -11,7 +11,21 @@
-

<%: traduci("ReportCompleto") %>

+
+

<%: traduci("ReportCompleto") %>

+
+
+
+
+ Fase + + +
+
+ Lingua + + +
diff --git a/CMS_SC/ReportCompleto.aspx.cs b/CMS_SC/ReportCompleto.aspx.cs index 098b1d4..de3ec3d 100644 --- a/CMS_SC/ReportCompleto.aspx.cs +++ b/CMS_SC/ReportCompleto.aspx.cs @@ -12,7 +12,11 @@ namespace CMS_SC { protected void Page_Load(object sender, EventArgs e) { - + if (!Page.IsPostBack) + { + mod_reportCompleto.Fase = ddlFase.SelectedValue; + mod_reportCompleto.Lingua = ddlLingue.SelectedValue; + } } /// /// wrapper traduzione @@ -23,5 +27,17 @@ namespace CMS_SC { return user_std.UtSn.Traduci(lemma); } + + protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e) + { + mod_reportCompleto.Fase = ddlFase.SelectedValue; + mod_reportCompleto.fixReport(); + } + + protected void ddlLingue_SelectedIndexChanged(object sender, EventArgs e) + { + mod_reportCompleto.Lingua = ddlLingue.SelectedValue; + mod_reportCompleto.fixReport(); + } } } \ No newline at end of file diff --git a/CMS_SC/ReportCompleto.aspx.designer.cs b/CMS_SC/ReportCompleto.aspx.designer.cs index 34a9a63..095befb 100644 --- a/CMS_SC/ReportCompleto.aspx.designer.cs +++ b/CMS_SC/ReportCompleto.aspx.designer.cs @@ -12,6 +12,42 @@ namespace CMS_SC { public partial class ReportCompleto { + /// + /// ddlFase control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlFase; + + /// + /// odsFase control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFase; + + /// + /// ddlLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlLingue; + + /// + /// odsLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsLingue; + /// /// mod_reportCompleto control. /// diff --git a/CMS_SC/WebUserControls/mod_reportCompleto.ascx.cs b/CMS_SC/WebUserControls/mod_reportCompleto.ascx.cs index 798af8c..ff2b337 100644 --- a/CMS_SC/WebUserControls/mod_reportCompleto.ascx.cs +++ b/CMS_SC/WebUserControls/mod_reportCompleto.ascx.cs @@ -20,23 +20,11 @@ namespace CMS_SC.WebUserControls /// /// Fase x report richiesto /// - protected string Fase - { - get - { - return memLayer.ML.QSS("Fase"); - } - } + public string Fase { get; set; } /// /// Lingua x report richiesto /// - protected string Lingua - { - get - { - return memLayer.ML.QSS("Lingua"); - } - } + public string Lingua { get; set; } /// /// dossier di cui creare report /// diff --git a/CMS_SC/bin/CMS-SC-Data.dll b/CMS_SC/bin/CMS-SC-Data.dll index 655de0d..f7a2cbe 100644 Binary files a/CMS_SC/bin/CMS-SC-Data.dll and b/CMS_SC/bin/CMS-SC-Data.dll differ diff --git a/CMS_SC/bin/CMS_SC.dll b/CMS_SC/bin/CMS_SC.dll index 86e748c..9c2fabf 100644 Binary files a/CMS_SC/bin/CMS_SC.dll and b/CMS_SC/bin/CMS_SC.dll differ diff --git a/CMS_SC/bin/SteamWare.dll b/CMS_SC/bin/SteamWare.dll index cc9f25c..e80c273 100644 Binary files a/CMS_SC/bin/SteamWare.dll and b/CMS_SC/bin/SteamWare.dll differ