diff --git a/WebSCR.v11.suo b/WebSCR.v11.suo
index 88b6b51..3976587 100644
Binary files a/WebSCR.v11.suo and b/WebSCR.v11.suo differ
diff --git a/WebSCR/WebUserControls/mod_dettImpegno.ascx b/WebSCR/WebUserControls/mod_dettImpegno.ascx
index 9f2cd2c..87dfcd5 100644
--- a/WebSCR/WebUserControls/mod_dettImpegno.ascx
+++ b/WebSCR/WebUserControls/mod_dettImpegno.ascx
@@ -1,19 +1,328 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettImpegno.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dettImpegno" %>
-
+
+
+ IdxImpegno:
+
+
+ DataOra:
+
+
+ TipoOrario:
+
+
+ CodCliente:
+
+
+ Cognome:
+
+
+ Nome:
+
+
+ CodFis:
+
+
+ CodSquadra:
+
+
+ DescrSquadra:
+
+
+ Elettrod:
+
+
+ Clima:
+
+
+ Inform:
+
+
+ Indir:
+
+
+ Cap:
+
+
+ Localita:
+
+
+ Prov:
+
+
+ idxZona:
+
+
+ MinTotCons:
+
+
+ MinViaggio:
+
+
+ FinePrev:
+
+
+ NoteGen:
+
+
+ RifOC:
+
+
+ UrlDoc:
+
+
+ NumOp:
+
+
+ RitUsato:
+
+
+ Ascensore:
+
+
+ PianoCons:
+
+
+ UserMod:
+
+
+ DataMod:
+
+
+
+
+
+
+ IdxImpegno:
+
+
+ DataOra:
+
+
+ TipoOrario:
+
+
+ CodCliente:
+
+
+ Cognome:
+
+
+ Nome:
+
+
+ CodFis:
+
+
+ CodSquadra:
+
+
+ DescrSquadra:
+
+
+ Elettrod:
+
+
+ Clima:
+
+
+ Inform:
+
+
+ Indir:
+
+
+ Cap:
+
+
+ Localita:
+
+
+ Prov:
+
+
+ idxZona:
+
+
+ MinTotCons:
+
+
+ MinViaggio:
+
+
+ FinePrev:
+
+
+ NoteGen:
+
+
+ RifOC:
+
+
+ UrlDoc:
+
+
+ NumOp:
+
+
+ RitUsato:
+
+
+ Ascensore:
+
+
+ PianoCons:
+
+
+ UserMod:
+
+
+ DataMod:
+
+
+
+
+
+
+
+
+
+
+ CodCliente:
+
+
+ Cognome:
+
+
+ Nome:
+
+
+ CodFis:
+
+
+
+
+
+ Elettrod:
+
+
+ Clima:
+
+
+ Inform:
+
+
+ Indir:
+
+
+ Cap:
+
+
+ Localita:
+
+
+ Prov:
+
+
+ idxZona:
+
+
+ MinTotCons:
+
+
+ MinViaggio:
+
+
+ FinePrev:
+
+
+ NoteGen:
+
+
+ RifOC:
+
+
+ UrlDoc:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
textbox x selezionare...
diff --git a/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs b/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs
index 0c33498..343c6a7 100644
--- a/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs
+++ b/WebSCR/WebUserControls/mod_dettImpegno.ascx.cs
@@ -30,14 +30,25 @@ namespace WebSCR.WebUserControls
// creo un impegno NUOVO nel primo slot libero...
}
- if (idxImpegno > 0)
- {
- DS_Applicazione.ImpegniRow riga = DtProxy.man.taImp.getByKey(idxImpegno)[0];
- txtDataFrom.Text = string.Format("{0:yyyy-MM-dd}", riga.DataOra);
- ddlOrario.DataBind();
- ddlOrario.SelectedValue = string.Format("{0:HH:mm:ss}", riga.DataOra);
- ddlSquadra.SelectedValue = riga.CodSquadra;
- }
+ //if (idxImpegno > 0)
+ //{
+ // // recupero record
+ // DS_Applicazione.ImpegniRow riga = DtProxy.man.taImp.getByKey(idxImpegno)[0];
+ // // sistemo data ed ora
+ // txtDataFrom.Text = string.Format("{0:yyyy-MM-dd}", riga.DataOra);
+ // ddlOrario.DataBind();
+ // ddlOrario.SelectedValue = string.Format("{0:HH:mm:ss}", riga.DataOra);
+ // // sistemo tipo orario
+ // ddlTipoOrario.SelectedValue = riga.TipoOrario;
+ // // sistemo squadra
+ // ddlSquadra.SelectedValue = riga.CodSquadra;
+ // // sistemo num pers e ritiro usato
+ // txtNumPers.Text = riga.NumOp.ToString();
+ // chkRitUsato.Checked = riga.RitUsato;
+ // // sistemo ascensore e piano...
+ // txtPiano.Text = riga.PianoCons.ToString();
+ // chkAscensore.Checked = riga.Ascensore;
+ //}
}
///
/// recupera valore querystring
diff --git a/WebSCR/WebUserControls/mod_dettImpegno.ascx.designer.cs b/WebSCR/WebUserControls/mod_dettImpegno.ascx.designer.cs
index bc945f8..7c97afb 100644
--- a/WebSCR/WebUserControls/mod_dettImpegno.ascx.designer.cs
+++ b/WebSCR/WebUserControls/mod_dettImpegno.ascx.designer.cs
@@ -13,13 +13,22 @@ namespace WebSCR.WebUserControls {
public partial class mod_dettImpegno {
///
- /// ddlSquadra control.
+ /// frmView control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.DropDownList ddlSquadra;
+ protected global::System.Web.UI.WebControls.FormView frmView;
+
+ ///
+ /// odsImpegni control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsImpegni;
///
/// odsSquadre control.
@@ -30,24 +39,6 @@ namespace WebSCR.WebUserControls {
///
protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre;
- ///
- /// txtDataFrom control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
-
- ///
- /// ddlOrario control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.DropDownList ddlOrario;
-
///
/// odsOrario control.
///
diff --git a/WebSCR/WebUserControls/mod_schedaGiorno.ascx.cs b/WebSCR/WebUserControls/mod_schedaGiorno.ascx.cs
index 47d5e51..3a73bd5 100644
--- a/WebSCR/WebUserControls/mod_schedaGiorno.ascx.cs
+++ b/WebSCR/WebUserControls/mod_schedaGiorno.ascx.cs
@@ -87,8 +87,9 @@ namespace WebSCR.WebUserControls
// se ho squadra selezionata...
if (rblSquadre.SelectedIndex >= 0)
{
+ // recupero indirizzo e cliente !!FARE!!!
// selezionato periodo, salvo evento inizio...
- DtProxy.man.taImp.insertQuery(e.Start, rblSquadre.SelectedValue, memLayer.ML.StringSessionObj("CodCliente"), "OC123456", "indirizzo1", "12345", "localita", "GG");
+ DtProxy.man.taImp.insertQuery(e.Start, "INDIC", rblSquadre.SelectedValue, memLayer.ML.StringSessionObj("CodCliente"), "OC00000000", "via Provinciale 29", "24044", "DALMINE", "BG");
}
doUpdate();
}
diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll
index 8e5627b..b880693 100644
Binary files a/WebSCR/bin/SteamWare.dll and b/WebSCR/bin/SteamWare.dll differ
diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll
index 82f87f2..0b83dd8 100644
Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ
diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll
index ad4fe16..99275a6 100644
Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ
diff --git a/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index d8d585f..7fc0109 100644
Binary files a/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache
index de3606c..3114af9 100644
Binary files a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache and b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache differ
diff --git a/WebSCR/obj/Debug/WebSCR.dll b/WebSCR/obj/Debug/WebSCR.dll
index ee65153..0b83dd8 100644
Binary files a/WebSCR/obj/Debug/WebSCR.dll and b/WebSCR/obj/Debug/WebSCR.dll differ
diff --git a/WebSCR_data/DS_Applicazione.Designer.cs b/WebSCR_data/DS_Applicazione.Designer.cs
index 5daf5bc..930a63c 100644
--- a/WebSCR_data/DS_Applicazione.Designer.cs
+++ b/WebSCR_data/DS_Applicazione.Designer.cs
@@ -8752,6 +8752,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -8851,7 +8852,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int insertQuery(global::System.Nullable DataOra, string CodSquadra, string CodCliente, string RifOC, string Indir, string Cap, string Localita, string Prov) {
+ public virtual int insertQuery(global::System.Nullable DataOra, string TipoOrario, string CodSquadra, string CodCliente, string RifOC, string Indir, string Cap, string Localita, string Prov) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((DataOra.HasValue == true)) {
command.Parameters[1].Value = ((System.DateTime)(DataOra.Value));
@@ -8859,47 +8860,53 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((CodSquadra == null)) {
+ if ((TipoOrario == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[2].Value = ((string)(CodSquadra));
+ command.Parameters[2].Value = ((string)(TipoOrario));
}
- if ((CodCliente == null)) {
+ if ((CodSquadra == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[3].Value = ((string)(CodCliente));
+ command.Parameters[3].Value = ((string)(CodSquadra));
}
- if ((RifOC == null)) {
+ if ((CodCliente == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[4].Value = ((string)(RifOC));
+ command.Parameters[4].Value = ((string)(CodCliente));
}
- if ((Indir == null)) {
+ if ((RifOC == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[5].Value = ((string)(Indir));
+ command.Parameters[5].Value = ((string)(RifOC));
}
- if ((Cap == null)) {
+ if ((Indir == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[6].Value = ((string)(Cap));
+ command.Parameters[6].Value = ((string)(Indir));
}
- if ((Localita == null)) {
+ if ((Cap == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[7].Value = ((string)(Localita));
+ command.Parameters[7].Value = ((string)(Cap));
}
- if ((Prov == null)) {
+ if ((Localita == null)) {
command.Parameters[8].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[8].Value = ((string)(Prov));
+ command.Parameters[8].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ command.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[9].Value = ((string)(Prov));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
diff --git a/WebSCR_data/DS_Applicazione.xsd b/WebSCR_data/DS_Applicazione.xsd
index d1f9f8c..874351b 100644
--- a/WebSCR_data/DS_Applicazione.xsd
+++ b/WebSCR_data/DS_Applicazione.xsd
@@ -582,6 +582,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
+
diff --git a/WebSCR_data/DS_Applicazione.xss b/WebSCR_data/DS_Applicazione.xss
index 2905030..91a5cee 100644
--- a/WebSCR_data/DS_Applicazione.xss
+++ b/WebSCR_data/DS_Applicazione.xss
@@ -6,18 +6,18 @@
-->
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
745
diff --git a/WebSCR_data/DS_Utility.Designer.cs b/WebSCR_data/DS_Utility.Designer.cs
index 55b3863..87a1877 100644
--- a/WebSCR_data/DS_Utility.Designer.cs
+++ b/WebSCR_data/DS_Utility.Designer.cs
@@ -28,6 +28,8 @@ namespace WebSCR_data {
private GiornoTipoDataTable tableGiornoTipo;
+ private ListValuesDataTable tableListValues;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -62,6 +64,9 @@ namespace WebSCR_data {
if ((ds.Tables["GiornoTipo"] != null)) {
base.Tables.Add(new GiornoTipoDataTable(ds.Tables["GiornoTipo"]));
}
+ if ((ds.Tables["ListValues"] != null)) {
+ base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -100,6 +105,16 @@ namespace WebSCR_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 ListValuesDataTable ListValues {
+ get {
+ return this.tableListValues;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -173,6 +188,9 @@ namespace WebSCR_data {
if ((ds.Tables["GiornoTipo"] != null)) {
base.Tables.Add(new GiornoTipoDataTable(ds.Tables["GiornoTipo"]));
}
+ if ((ds.Tables["ListValues"] != null)) {
+ base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -218,6 +236,12 @@ namespace WebSCR_data {
this.tableGiornoTipo.InitVars();
}
}
+ this.tableListValues = ((ListValuesDataTable)(base.Tables["ListValues"]));
+ if ((initTable == true)) {
+ if ((this.tableListValues != null)) {
+ this.tableListValues.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -232,6 +256,8 @@ namespace WebSCR_data {
base.Tables.Add(this.tabletblFiles);
this.tableGiornoTipo = new GiornoTipoDataTable();
base.Tables.Add(this.tableGiornoTipo);
+ this.tableListValues = new ListValuesDataTable();
+ base.Tables.Add(this.tableListValues);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -246,6 +272,12 @@ namespace WebSCR_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeListValues() {
+ 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) {
@@ -307,6 +339,9 @@ namespace WebSCR_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void GiornoTipoRowChangeEventHandler(object sender, GiornoTipoRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ListValuesRowChangeEventHandler(object sender, ListValuesRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -934,6 +969,329 @@ namespace WebSCR_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ListValuesDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnTableName;
+
+ private global::System.Data.DataColumn columnFieldName;
+
+ private global::System.Data.DataColumn columnvalue;
+
+ private global::System.Data.DataColumn columnlabel;
+
+ private global::System.Data.DataColumn columnordinal;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesDataTable() {
+ this.TableName = "ListValues";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ListValuesDataTable(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 ListValuesDataTable(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 TableNameColumn {
+ get {
+ return this.columnTableName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FieldNameColumn {
+ get {
+ return this.columnFieldName;
+ }
+ }
+
+ [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")]
+ public global::System.Data.DataColumn ordinalColumn {
+ get {
+ return this.columnordinal;
+ }
+ }
+
+ [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 ListValuesRow this[int index] {
+ get {
+ return ((ListValuesRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddListValuesRow(ListValuesRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow AddListValuesRow(string TableName, string FieldName, string value, string label, int ordinal) {
+ ListValuesRow rowListValuesRow = ((ListValuesRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ TableName,
+ FieldName,
+ value,
+ label,
+ ordinal};
+ rowListValuesRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowListValuesRow);
+ return rowListValuesRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow FindByTableNameFieldNamevalue(string TableName, string FieldName, string value) {
+ return ((ListValuesRow)(this.Rows.Find(new object[] {
+ TableName,
+ FieldName,
+ 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() {
+ ListValuesDataTable cln = ((ListValuesDataTable)(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 ListValuesDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnTableName = base.Columns["TableName"];
+ this.columnFieldName = base.Columns["FieldName"];
+ this.columnvalue = base.Columns["value"];
+ this.columnlabel = base.Columns["label"];
+ this.columnordinal = base.Columns["ordinal"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnTableName = new global::System.Data.DataColumn("TableName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTableName);
+ this.columnFieldName = new global::System.Data.DataColumn("FieldName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFieldName);
+ 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.columnordinal = new global::System.Data.DataColumn("ordinal", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnordinal);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnTableName,
+ this.columnFieldName,
+ this.columnvalue}, true));
+ this.columnTableName.AllowDBNull = false;
+ this.columnTableName.MaxLength = 50;
+ this.columnFieldName.AllowDBNull = false;
+ this.columnFieldName.MaxLength = 50;
+ this.columnvalue.AllowDBNull = false;
+ this.columnvalue.MaxLength = 10;
+ this.columnlabel.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow NewListValuesRow() {
+ return ((ListValuesRow)(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 ListValuesRow(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(ListValuesRow);
+ }
+
+ [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.ListValuesRowChanged != null)) {
+ this.ListValuesRowChanged(this, new ListValuesRowChangeEvent(((ListValuesRow)(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.ListValuesRowChanging != null)) {
+ this.ListValuesRowChanging(this, new ListValuesRowChangeEvent(((ListValuesRow)(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.ListValuesRowDeleted != null)) {
+ this.ListValuesRowDeleted(this, new ListValuesRowChangeEvent(((ListValuesRow)(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.ListValuesRowDeleting != null)) {
+ this.ListValuesRowDeleting(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveListValuesRow(ListValuesRow 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 = "ListValuesDataTable";
+ 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.
///
@@ -1080,6 +1438,110 @@ namespace WebSCR_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ListValuesRow : global::System.Data.DataRow {
+
+ private ListValuesDataTable tableListValues;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ListValuesRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableListValues = ((ListValuesDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TableName {
+ get {
+ return ((string)(this[this.tableListValues.TableNameColumn]));
+ }
+ set {
+ this[this.tableListValues.TableNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string FieldName {
+ get {
+ return ((string)(this[this.tableListValues.FieldNameColumn]));
+ }
+ set {
+ this[this.tableListValues.FieldNameColumn] = value;
+ }
+ }
+
+ [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.tableListValues.valueColumn]));
+ }
+ set {
+ this[this.tableListValues.valueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string label {
+ get {
+ try {
+ return ((string)(this[this.tableListValues.labelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'ListValues\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableListValues.labelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int ordinal {
+ get {
+ try {
+ return ((int)(this[this.tableListValues.ordinalColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ordinal\' in table \'ListValues\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableListValues.ordinalColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslabelNull() {
+ return this.IsNull(this.tableListValues.labelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlabelNull() {
+ this[this.tableListValues.labelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsordinalNull() {
+ return this.IsNull(this.tableListValues.ordinalColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetordinalNull() {
+ this[this.tableListValues.ordinalColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -1147,6 +1609,40 @@ namespace WebSCR_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ListValuesRowChangeEvent : global::System.EventArgs {
+
+ private ListValuesRow 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 ListValuesRowChangeEvent(ListValuesRow 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 ListValuesRow 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 WebSCR_data.DS_UtilityTableAdapters {
@@ -2084,6 +2580,258 @@ SELECT idxFile, DataMod, FileName, ContentType, Data, Size, IdxImpegno, IdxRappo
}
}
+ ///
+ ///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 ListValuesTableAdapter : 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 ListValuesTableAdapter() {
+ 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 = "ListValues";
+ tableMapping.ColumnMappings.Add("TableName", "TableName");
+ tableMapping.ColumnMappings.Add("FieldName", "FieldName");
+ tableMapping.ColumnMappings.Add("value", "value");
+ tableMapping.ColumnMappings.Add("label", "label");
+ tableMapping.ColumnMappings.Add("ordinal", "ordinal");
+ 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::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [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[3];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "dbo.stp_listValues_getByTable";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_listValues_getValidValues";
+ 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("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", 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_listValues_getValidValuesFilt";
+ 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("@TableName", 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("@FieldName", 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("@valueLike", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [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.ListValuesDataTable dataTable, string TableName) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ 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.ListValuesDataTable GetData(string TableName) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getValid(string TableName, string FieldName) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getValidFilt(string TableName, string FieldName, string valueLike) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ if ((valueLike == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(valueLike));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
diff --git a/WebSCR_data/DS_Utility.xsd b/WebSCR_data/DS_Utility.xsd
index 5a02af5..bdca6cd 100644
--- a/WebSCR_data/DS_Utility.xsd
+++ b/WebSCR_data/DS_Utility.xsd
@@ -201,6 +201,55 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario)
+
+
+
+
+
+ dbo.stp_listValues_getByTable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_listValues_getValidValues
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_listValues_getValidValuesFilt
+
+
+
+
+
+
+
+
+
+
+
@@ -209,7 +258,7 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario)
-
+
@@ -235,13 +284,48 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario)
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -252,5 +336,11 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario)
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/DS_Utility.xss b/WebSCR_data/DS_Utility.xss
index 697c078..0647a55 100644
--- a/WebSCR_data/DS_Utility.xss
+++ b/WebSCR_data/DS_Utility.xss
@@ -4,9 +4,11 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/WebSCR_data.csproj b/WebSCR_data/WebSCR_data.csproj
index b59e397..afc6f6b 100644
--- a/WebSCR_data/WebSCR_data.csproj
+++ b/WebSCR_data/WebSCR_data.csproj
@@ -63,7 +63,9 @@
-
+
+ Designer
+
DS_Applicazione.xsd
diff --git a/WebSCR_data/bin/Debug/SteamWare.dll b/WebSCR_data/bin/Debug/SteamWare.dll
index 5ebbed0..b880693 100644
Binary files a/WebSCR_data/bin/Debug/SteamWare.dll and b/WebSCR_data/bin/Debug/SteamWare.dll differ
diff --git a/WebSCR_data/bin/Debug/WebSCR_data.dll b/WebSCR_data/bin/Debug/WebSCR_data.dll
index e21679e..99275a6 100644
Binary files a/WebSCR_data/bin/Debug/WebSCR_data.dll and b/WebSCR_data/bin/Debug/WebSCR_data.dll differ
diff --git a/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll
index 9aa7b42..c121315 100644
Binary files a/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ
diff --git a/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll b/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll
index 9d55b90..0ab5e17 100644
Binary files a/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll and b/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll differ
diff --git a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache
index 961eed2..82c9174 100644
Binary files a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache differ
diff --git a/WebSCR_data/obj/Debug/WebSCR_data.dll b/WebSCR_data/obj/Debug/WebSCR_data.dll
index e21679e..99275a6 100644
Binary files a/WebSCR_data/obj/Debug/WebSCR_data.dll and b/WebSCR_data/obj/Debug/WebSCR_data.dll differ
diff --git a/WebSCR_data/obj/Debug/build.force b/WebSCR_data/obj/Debug/build.force
deleted file mode 100644
index e69de29..0000000
diff --git a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll
index 756551d..c094ea2 100644
Binary files a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ