diff --git a/WebSCR.v11.suo b/WebSCR.v11.suo
index 81975e6..4c142cd 100644
Binary files a/WebSCR.v11.suo and b/WebSCR.v11.suo differ
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx b/WebSCR/WebUserControls/mod_Interventi.ascx
index c911da0..e4f45d5 100644
--- a/WebSCR/WebUserControls/mod_Interventi.ascx
+++ b/WebSCR/WebUserControls/mod_Interventi.ascx
@@ -1,7 +1,57 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Interventi.ascx.cs" Inherits="WebSCR.WebUserControls.mod_Interventi" %>
-
- Filtro normale: IN CORSO
-
- Filtro opzionale PER CLIENTE
-
- FIltri accessori: OGGI | DOMANI | SETTIMANA | TUTTI | CONCLUSI ...
\ No newline at end of file
+
+ Filtro normale: IN CORSO
+
+
+ Filtro opzionale PER CLIENTE
+
+
+ FIltri accessori: OGGI | DOMANI | SETTIMANA | TUTTI | CONCLUSI ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.cs
index a248dc5..ba66ba4 100644
--- a/WebSCR/WebUserControls/mod_Interventi.ascx.cs
+++ b/WebSCR/WebUserControls/mod_Interventi.ascx.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
+using SteamWare;
namespace WebSCR.WebUserControls
{
@@ -11,7 +12,83 @@ namespace WebSCR.WebUserControls
{
protected void Page_Load(object sender, EventArgs e)
{
+ if (!Page.IsPostBack)
+ {
+#if false
+ memLayer.ML.emptySessionVal("Cliente");
+ hlLocalUploader.NavigateUrl = memLayer.ML.confReadString("localUplURL");
+#endif
+ }
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+#if false
+ ///
+ /// gestione evento novo record
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ // richiamo pagina di edit senza parametri x metodo NEW
+ Response.Redirect("ClientiEdit");
+ }
+#endif
+ ///
+ /// evento selezione paziente...
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+#if false
+ // recupero dati paziente...
+ string CodCliente = "";
+ try
+ {
+ CodCliente = grView.SelectedDataKey["CodCliente"].ToString();
+ memLayer.ML.setSessionVal("CodCliente", CodCliente);
+ DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0];
+ memLayer.ML.setSessionVal("Cliente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.CodFis));
+ // mando a dettaglio con filtro x cliente!
+ Response.Redirect(string.Format("Interventi?FiltroCliente=1&ShowState=0&CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
+
+ }
+ catch(Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
+ }
+#endif
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ ///
+ /// trimma una stringa alla lunghezza richiesta...
+ ///
+ ///
+ ///
+ ///
+ public string stringTrim(object _stringa, object _maxChar)
+ {
+ string answ = "";
+ try
+ {
+ answ = _stringa.ToString();
+ if (answ.Length > Convert.ToInt32(_maxChar))
+ {
+ answ = answ.Substring(0, Convert.ToInt32(_maxChar)) + "[...]";
+ }
+ }
+ catch
+ { }
+ return answ;
}
}
}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs
index 9919bda..f207a30 100644
--- a/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs
+++ b/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs
@@ -3,15 +3,40 @@
// 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 WebSCR.WebUserControls
-{
-
-
- public partial class mod_Interventi
- {
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_Interventi {
+
+ ///
+ /// txtSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSearch;
+
+ ///
+ /// 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/WebSCR/WebUserControls/mod_elencoClienti.ascx b/WebSCR/WebUserControls/mod_elencoClienti.ascx
index d6fa7c9..ce1b1e2 100644
--- a/WebSCR/WebUserControls/mod_elencoClienti.ascx
+++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx
@@ -15,6 +15,9 @@
+
+ Nessun risultato
+
@@ -34,7 +37,7 @@
-
+
diff --git a/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx
index 119dd19..14db09c 100644
--- a/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx
+++ b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx
@@ -11,6 +11,9 @@
+
+ Nessun risultato
+
@@ -68,7 +71,7 @@
-
+
Spiegazione
Ogni riga rappresenta un utente, se questo è indicato
con un font barrato significa che l'utente è disattivato e tutti i suoi devices (eventualmente registrati) sono stati disabilitati e rimossi dal DB (e
non possono più accedere alla piattaforma).
@@ -77,10 +80,10 @@
<%--- seleziona l'utente per visualizzare i devices lui associati
- seleziona l'utente per modificare i dati quali cognome, nome, email
--%>
- - Attivazione: il pulsante disattiva un utente (ed i relativi devices) mentre il pulsante lo riattiva (generando una NUOVA AuthKey) e permette nuovi enroll dei dispositivi.
- - NumAuth: indica il numero di attivazioni residue per l'utente, si possono incrementare/decrementare con i button e
+ - Attivazione: il pulsante disattiva un utente (ed i relativi devices) mentre il pulsante lo riattiva (generando una NUOVA AuthKey) e permette nuovi enroll dei dispositivi.
+ - NumAuth: indica il numero di attivazioni residue per l'utente, si possono incrementare/decrementare con i button e
- Grp: indica il gruppo di appartenenza dell'utente
- - Reset: permette di gestire le richieste di supporto: col pulsante si possono approvare (generando una nuova auth key), con si possono rifiutare le richieste e con si possono inviare (per gli utenti ATTIVI) le email contenenti i link per autorizzare i dispositivi; nb: numAuth deve essere maggiore di zero altrimenti un link valido non permette comunque l'attivazione di nuovi devices utente.
+ - Reset: permette di gestire le richieste di supporto: col pulsante si possono approvare (generando una nuova auth key), con si possono rifiutare le richieste e con si possono inviare (per gli utenti ATTIVI) le email contenenti i link per autorizzare i dispositivi; nb: numAuth deve essere maggiore di zero altrimenti un link valido non permette comunque l'attivazione di nuovi devices utente.
diff --git a/WebSCR/WebUserControls/mod_elencoSquadre.ascx b/WebSCR/WebUserControls/mod_elencoSquadre.ascx
index d1c2805..e291798 100644
--- a/WebSCR/WebUserControls/mod_elencoSquadre.ascx
+++ b/WebSCR/WebUserControls/mod_elencoSquadre.ascx
@@ -13,6 +13,9 @@
+
+ Nessun risultato
+
diff --git a/WebSCR/WebUserControls/mod_elencoTipoInt.ascx b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx
index 1a224fa..8e6bd2c 100644
--- a/WebSCR/WebUserControls/mod_elencoTipoInt.ascx
+++ b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx
@@ -13,6 +13,9 @@
+
+ Nessun risultato
+
diff --git a/WebSCR/WebUserControls/mod_elencoZone.ascx b/WebSCR/WebUserControls/mod_elencoZone.ascx
index 42f4f50..58ec3bf 100644
--- a/WebSCR/WebUserControls/mod_elencoZone.ascx
+++ b/WebSCR/WebUserControls/mod_elencoZone.ascx
@@ -13,6 +13,9 @@
+
+ Nessun risultato
+
diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll
index 812a886..aed2725 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 198d39f..5067617 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 2289c52..2b8c634 100644
Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ
diff --git a/WebSCR/logs/20150427.txt b/WebSCR/logs/20150427.txt
index 64bdc14..b72a1e9 100644
--- a/WebSCR/logs/20150427.txt
+++ b/WebSCR/logs/20150427.txt
@@ -52,3 +52,30 @@ System.Threading.ThreadAbortException: Thread interrotto.
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
in System.Web.HttpResponse.Redirect(String url)
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
+15:47:49 0730 Errore in rimando clienti --> interventi:
+System.Threading.ThreadAbortException: Thread interrotto.
+ in System.Threading.Thread.AbortInternal()
+ in System.Threading.Thread.Abort(Object stateInfo)
+ in System.Web.HttpResponse.AbortCurrentThread()
+ in System.Web.HttpResponse.End()
+ in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
+ in System.Web.HttpResponse.Redirect(String url)
+ in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
+15:53:13 4706 Errore in rimando clienti --> interventi:
+System.Threading.ThreadAbortException: Thread interrotto.
+ in System.Threading.Thread.AbortInternal()
+ in System.Threading.Thread.Abort(Object stateInfo)
+ in System.Web.HttpResponse.AbortCurrentThread()
+ in System.Web.HttpResponse.End()
+ in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
+ in System.Web.HttpResponse.Redirect(String url)
+ in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
+16:10:28 7566 Errore in rimando clienti --> interventi:
+System.Threading.ThreadAbortException: Thread interrotto.
+ in System.Threading.Thread.AbortInternal()
+ in System.Threading.Thread.Abort(Object stateInfo)
+ in System.Web.HttpResponse.AbortCurrentThread()
+ in System.Web.HttpResponse.End()
+ in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
+ in System.Web.HttpResponse.Redirect(String url)
+ in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
diff --git a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache
index 6133092..8a2d1a1 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 198d39f..5067617 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 96fd355..f0e8d20 100644
--- a/WebSCR_data/DS_Applicazione.Designer.cs
+++ b/WebSCR_data/DS_Applicazione.Designer.cs
@@ -32,6 +32,8 @@ namespace WebSCR_data {
private AnagClientiDataTable tableAnagClienti;
+ private ImpegniDataTable tableImpegni;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -72,6 +74,9 @@ namespace WebSCR_data {
if ((ds.Tables["AnagClienti"] != null)) {
base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"]));
}
+ if ((ds.Tables["Impegni"] != null)) {
+ base.Tables.Add(new ImpegniDataTable(ds.Tables["Impegni"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -130,6 +135,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 ImpegniDataTable Impegni {
+ get {
+ return this.tableImpegni;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -209,6 +224,9 @@ namespace WebSCR_data {
if ((ds.Tables["AnagClienti"] != null)) {
base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"]));
}
+ if ((ds.Tables["Impegni"] != null)) {
+ base.Tables.Add(new ImpegniDataTable(ds.Tables["Impegni"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -266,6 +284,12 @@ namespace WebSCR_data {
this.tableAnagClienti.InitVars();
}
}
+ this.tableImpegni = ((ImpegniDataTable)(base.Tables["Impegni"]));
+ if ((initTable == true)) {
+ if ((this.tableImpegni != null)) {
+ this.tableImpegni.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -284,6 +308,8 @@ namespace WebSCR_data {
base.Tables.Add(this.tableAnagTipoConsegne);
this.tableAnagClienti = new AnagClientiDataTable();
base.Tables.Add(this.tableAnagClienti);
+ this.tableImpegni = new ImpegniDataTable();
+ base.Tables.Add(this.tableImpegni);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -310,6 +336,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 ShouldSerializeImpegni() {
+ 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) {
@@ -377,6 +409,9 @@ namespace WebSCR_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ImpegniRowChangeEventHandler(object sender, ImpegniRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -1884,6 +1919,545 @@ namespace WebSCR_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ImpegniDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxImpegno;
+
+ private global::System.Data.DataColumn columnDataOra;
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnDescrSquadra;
+
+ private global::System.Data.DataColumn columnElettrod;
+
+ private global::System.Data.DataColumn columnClima;
+
+ private global::System.Data.DataColumn columnInform;
+
+ private global::System.Data.DataColumn columnMinTotCons;
+
+ private global::System.Data.DataColumn columnMinViaggio;
+
+ private global::System.Data.DataColumn columnFinePrev;
+
+ private global::System.Data.DataColumn columnExpr1;
+
+ private global::System.Data.DataColumn columnCodCliente;
+
+ private global::System.Data.DataColumn columnCognome;
+
+ private global::System.Data.DataColumn columnNome;
+
+ private global::System.Data.DataColumn columnCodFis;
+
+ private global::System.Data.DataColumn columnOraIndic;
+
+ private global::System.Data.DataColumn columnRifOC;
+
+ private global::System.Data.DataColumn columnUrlDoc;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniDataTable() {
+ this.TableName = "Impegni";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ImpegniDataTable(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 ImpegniDataTable(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 IdxImpegnoColumn {
+ get {
+ return this.columnIdxImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataOraColumn {
+ get {
+ return this.columnDataOra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescrSquadraColumn {
+ get {
+ return this.columnDescrSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ElettrodColumn {
+ get {
+ return this.columnElettrod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ClimaColumn {
+ get {
+ return this.columnClima;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InformColumn {
+ get {
+ return this.columnInform;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinTotConsColumn {
+ get {
+ return this.columnMinTotCons;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinViaggioColumn {
+ get {
+ return this.columnMinViaggio;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FinePrevColumn {
+ get {
+ return this.columnFinePrev;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn Expr1Column {
+ get {
+ return this.columnExpr1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodClienteColumn {
+ get {
+ return this.columnCodCliente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CognomeColumn {
+ get {
+ return this.columnCognome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NomeColumn {
+ get {
+ return this.columnNome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodFisColumn {
+ get {
+ return this.columnCodFis;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn OraIndicColumn {
+ get {
+ return this.columnOraIndic;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RifOCColumn {
+ get {
+ return this.columnRifOC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UrlDocColumn {
+ get {
+ return this.columnUrlDoc;
+ }
+ }
+
+ [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 ImpegniRow this[int index] {
+ get {
+ return ((ImpegniRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddImpegniRow(ImpegniRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow AddImpegniRow(
+ int IdxImpegno,
+ System.DateTime DataOra,
+ string CodSquadra,
+ string DescrSquadra,
+ bool Elettrod,
+ bool Clima,
+ bool Inform,
+ int MinTotCons,
+ int MinViaggio,
+ System.DateTime FinePrev,
+ int Expr1,
+ string CodCliente,
+ string Cognome,
+ string Nome,
+ string CodFis,
+ bool OraIndic,
+ string RifOC,
+ string UrlDoc) {
+ ImpegniRow rowImpegniRow = ((ImpegniRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ IdxImpegno,
+ DataOra,
+ CodSquadra,
+ DescrSquadra,
+ Elettrod,
+ Clima,
+ Inform,
+ MinTotCons,
+ MinViaggio,
+ FinePrev,
+ Expr1,
+ CodCliente,
+ Cognome,
+ Nome,
+ CodFis,
+ OraIndic,
+ RifOC,
+ UrlDoc};
+ rowImpegniRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowImpegniRow);
+ return rowImpegniRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow FindByIdxImpegnoCodSquadraCodCliente(int IdxImpegno, string CodSquadra, string CodCliente) {
+ return ((ImpegniRow)(this.Rows.Find(new object[] {
+ IdxImpegno,
+ CodSquadra,
+ CodCliente})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ImpegniDataTable cln = ((ImpegniDataTable)(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 ImpegniDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxImpegno = base.Columns["IdxImpegno"];
+ this.columnDataOra = base.Columns["DataOra"];
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnDescrSquadra = base.Columns["DescrSquadra"];
+ this.columnElettrod = base.Columns["Elettrod"];
+ this.columnClima = base.Columns["Clima"];
+ this.columnInform = base.Columns["Inform"];
+ this.columnMinTotCons = base.Columns["MinTotCons"];
+ this.columnMinViaggio = base.Columns["MinViaggio"];
+ this.columnFinePrev = base.Columns["FinePrev"];
+ this.columnExpr1 = base.Columns["Expr1"];
+ this.columnCodCliente = base.Columns["CodCliente"];
+ this.columnCognome = base.Columns["Cognome"];
+ this.columnNome = base.Columns["Nome"];
+ this.columnCodFis = base.Columns["CodFis"];
+ this.columnOraIndic = base.Columns["OraIndic"];
+ this.columnRifOC = base.Columns["RifOC"];
+ this.columnUrlDoc = base.Columns["UrlDoc"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxImpegno);
+ this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataOra);
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnDescrSquadra = new global::System.Data.DataColumn("DescrSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrSquadra);
+ this.columnElettrod = new global::System.Data.DataColumn("Elettrod", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnElettrod);
+ this.columnClima = new global::System.Data.DataColumn("Clima", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnClima);
+ this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInform);
+ this.columnMinTotCons = new global::System.Data.DataColumn("MinTotCons", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinTotCons);
+ this.columnMinViaggio = new global::System.Data.DataColumn("MinViaggio", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinViaggio);
+ this.columnFinePrev = new global::System.Data.DataColumn("FinePrev", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFinePrev);
+ this.columnExpr1 = new global::System.Data.DataColumn("Expr1", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnExpr1);
+ this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCliente);
+ this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCognome);
+ this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNome);
+ this.columnCodFis = new global::System.Data.DataColumn("CodFis", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodFis);
+ this.columnOraIndic = new global::System.Data.DataColumn("OraIndic", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnOraIndic);
+ this.columnRifOC = new global::System.Data.DataColumn("RifOC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRifOC);
+ this.columnUrlDoc = new global::System.Data.DataColumn("UrlDoc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUrlDoc);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxImpegno,
+ this.columnCodSquadra,
+ this.columnCodCliente}, true));
+ this.columnIdxImpegno.AllowDBNull = false;
+ this.columnDataOra.AllowDBNull = false;
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnDescrSquadra.AllowDBNull = false;
+ this.columnDescrSquadra.MaxLength = 50;
+ this.columnElettrod.AllowDBNull = false;
+ this.columnClima.AllowDBNull = false;
+ this.columnInform.AllowDBNull = false;
+ this.columnMinTotCons.AllowDBNull = false;
+ this.columnMinViaggio.AllowDBNull = false;
+ this.columnFinePrev.ReadOnly = true;
+ this.columnExpr1.AllowDBNull = false;
+ this.columnCodCliente.AllowDBNull = false;
+ this.columnCodCliente.MaxLength = 50;
+ this.columnCognome.MaxLength = 50;
+ this.columnNome.MaxLength = 50;
+ this.columnCodFis.MaxLength = 50;
+ this.columnOraIndic.AllowDBNull = false;
+ this.columnRifOC.AllowDBNull = false;
+ this.columnRifOC.MaxLength = 50;
+ this.columnUrlDoc.AllowDBNull = false;
+ this.columnUrlDoc.MaxLength = 2147483647;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow NewImpegniRow() {
+ return ((ImpegniRow)(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 ImpegniRow(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(ImpegniRow);
+ }
+
+ [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.ImpegniRowChanged != null)) {
+ this.ImpegniRowChanged(this, new ImpegniRowChangeEvent(((ImpegniRow)(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.ImpegniRowChanging != null)) {
+ this.ImpegniRowChanging(this, new ImpegniRowChangeEvent(((ImpegniRow)(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.ImpegniRowDeleted != null)) {
+ this.ImpegniRowDeleted(this, new ImpegniRowChangeEvent(((ImpegniRow)(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.ImpegniRowDeleting != null)) {
+ this.ImpegniRowDeleting(this, new ImpegniRowChangeEvent(((ImpegniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveImpegniRow(ImpegniRow 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_Applicazione ds = new DS_Applicazione();
+ 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 = "ImpegniDataTable";
+ 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.
///
@@ -2624,6 +3198,287 @@ namespace WebSCR_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ImpegniRow : global::System.Data.DataRow {
+
+ private ImpegniDataTable tableImpegni;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ImpegniRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableImpegni = ((ImpegniDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxImpegno {
+ get {
+ return ((int)(this[this.tableImpegni.IdxImpegnoColumn]));
+ }
+ set {
+ this[this.tableImpegni.IdxImpegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataOra {
+ get {
+ return ((global::System.DateTime)(this[this.tableImpegni.DataOraColumn]));
+ }
+ set {
+ this[this.tableImpegni.DataOraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tableImpegni.CodSquadraColumn]));
+ }
+ set {
+ this[this.tableImpegni.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescrSquadra {
+ get {
+ return ((string)(this[this.tableImpegni.DescrSquadraColumn]));
+ }
+ set {
+ this[this.tableImpegni.DescrSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Elettrod {
+ get {
+ return ((bool)(this[this.tableImpegni.ElettrodColumn]));
+ }
+ set {
+ this[this.tableImpegni.ElettrodColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Clima {
+ get {
+ return ((bool)(this[this.tableImpegni.ClimaColumn]));
+ }
+ set {
+ this[this.tableImpegni.ClimaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Inform {
+ get {
+ return ((bool)(this[this.tableImpegni.InformColumn]));
+ }
+ set {
+ this[this.tableImpegni.InformColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinTotCons {
+ get {
+ return ((int)(this[this.tableImpegni.MinTotConsColumn]));
+ }
+ set {
+ this[this.tableImpegni.MinTotConsColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinViaggio {
+ get {
+ return ((int)(this[this.tableImpegni.MinViaggioColumn]));
+ }
+ set {
+ this[this.tableImpegni.MinViaggioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime FinePrev {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableImpegni.FinePrevColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'FinePrev\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.FinePrevColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Expr1 {
+ get {
+ return ((int)(this[this.tableImpegni.Expr1Column]));
+ }
+ set {
+ this[this.tableImpegni.Expr1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodCliente {
+ get {
+ return ((string)(this[this.tableImpegni.CodClienteColumn]));
+ }
+ set {
+ this[this.tableImpegni.CodClienteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cognome {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.CognomeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Cognome\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.CognomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Nome {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.NomeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.NomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodFis {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.CodFisColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodFis\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.CodFisColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool OraIndic {
+ get {
+ return ((bool)(this[this.tableImpegni.OraIndicColumn]));
+ }
+ set {
+ this[this.tableImpegni.OraIndicColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string RifOC {
+ get {
+ return ((string)(this[this.tableImpegni.RifOCColumn]));
+ }
+ set {
+ this[this.tableImpegni.RifOCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UrlDoc {
+ get {
+ return ((string)(this[this.tableImpegni.UrlDocColumn]));
+ }
+ set {
+ this[this.tableImpegni.UrlDocColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFinePrevNull() {
+ return this.IsNull(this.tableImpegni.FinePrevColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFinePrevNull() {
+ this[this.tableImpegni.FinePrevColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCognomeNull() {
+ return this.IsNull(this.tableImpegni.CognomeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCognomeNull() {
+ this[this.tableImpegni.CognomeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNomeNull() {
+ return this.IsNull(this.tableImpegni.NomeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNomeNull() {
+ this[this.tableImpegni.NomeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodFisNull() {
+ return this.IsNull(this.tableImpegni.CodFisColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodFisNull() {
+ this[this.tableImpegni.CodFisColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -2759,6 +3614,40 @@ namespace WebSCR_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ImpegniRowChangeEvent : global::System.EventArgs {
+
+ private ImpegniRow 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 ImpegniRowChangeEvent(ImpegniRow 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 ImpegniRow 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_ApplicazioneTableAdapters {
@@ -4069,13 +4958,13 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
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_AC_DeleteQuery";
+ this._commandCollection[1].CommandText = "dbo.stp_ATC_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_CodConsegna", 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_AC_InsertQuery";
+ this._commandCollection[2].CommandText = "dbo.stp_ATC_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("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4087,7 +4976,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_AC_UpdateQuery";
+ this._commandCollection[3].CommandText = "dbo.stp_ATC_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("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -5434,6 +6323,238 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
}
}
+ ///
+ ///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 ImpegniTableAdapter : 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 ImpegniTableAdapter() {
+ 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 = "Impegni";
+ tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno");
+ tableMapping.ColumnMappings.Add("DataOra", "DataOra");
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("DescrSquadra", "DescrSquadra");
+ tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
+ tableMapping.ColumnMappings.Add("Clima", "Clima");
+ tableMapping.ColumnMappings.Add("Inform", "Inform");
+ tableMapping.ColumnMappings.Add("MinTotCons", "MinTotCons");
+ tableMapping.ColumnMappings.Add("MinViaggio", "MinViaggio");
+ tableMapping.ColumnMappings.Add("FinePrev", "FinePrev");
+ tableMapping.ColumnMappings.Add("Expr1", "Expr1");
+ tableMapping.ColumnMappings.Add("CodCliente", "CodCliente");
+ tableMapping.ColumnMappings.Add("Cognome", "Cognome");
+ tableMapping.ColumnMappings.Add("Nome", "Nome");
+ tableMapping.ColumnMappings.Add("CodFis", "CodFis");
+ tableMapping.ColumnMappings.Add("OraIndic", "OraIndic");
+ tableMapping.ColumnMappings.Add("RifOC", "RifOC");
+ tableMapping.ColumnMappings.Add("UrlDoc", "UrlDoc");
+ 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 = "SELECT IdxImpegno, DataOra, CodSquadra, DescrSquadra, Elettrod, Clima, Inform, Mi" +
+ "nTotCons, MinViaggio, FinePrev, Expr1, CodCliente, Cognome, Nome, CodFis, OraInd" +
+ "ic, RifOC, UrlDoc FROM dbo.v_elencoImpegni";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_Imp_getByCodCli";
+ 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("@CodCliente", 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_Imp_getByKey";
+ 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("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_Applicazione.ImpegniDataTable 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_Applicazione.ImpegniDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.ImpegniDataTable getByCli(string CodCliente) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((CodCliente == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente));
+ }
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.ImpegniDataTable getByKey(global::System.Nullable IdxImpegno) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((IdxImpegno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ 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_Applicazione.xsd b/WebSCR_data/DS_Applicazione.xsd
index 4f97e23..081e0b1 100644
--- a/WebSCR_data/DS_Applicazione.xsd
+++ b/WebSCR_data/DS_Applicazione.xsd
@@ -306,7 +306,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
- dbo.stp_AC_DeleteQuery
+ dbo.stp_ATC_DeleteQuery
@@ -317,7 +317,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
- dbo.stp_AC_InsertQuery
+ dbo.stp_ATC_InsertQuery
@@ -334,7 +334,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO
- dbo.stp_AC_UpdateQuery
+ dbo.stp_ATC_UpdateQuery
@@ -511,6 +511,62 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
+
+
+
+
+
+ SELECT IdxImpegno, DataOra, CodSquadra, DescrSquadra, Elettrod, Clima, Inform, MinTotCons, MinViaggio, FinePrev, Expr1, CodCliente, Cognome, Nome, CodFis, OraIndic, RifOC, UrlDoc FROM dbo.v_elencoImpegni
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_getByCodCli
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_getByKey
+
+
+
+
+
+
+
+
+
@@ -715,6 +771,78 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -733,5 +861,11 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/bin/Debug/SteamWare.dll b/WebSCR_data/bin/Debug/SteamWare.dll
index 812a886..aed2725 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 2289c52..2b8c634 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 4888351..c02ee23 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/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache
index 6de6440..660f37b 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 2289c52..2b8c634 100644
Binary files a/WebSCR_data/obj/Debug/WebSCR_data.dll and b/WebSCR_data/obj/Debug/WebSCR_data.dll differ