diff --git a/ETS-WS/ETS-WS/DocTemplates/ETS-Fax.docx b/ETS-WS/ETS-WS/DocTemplates/ETS-Fax.docx
index 78e9523..404dc7f 100644
Binary files a/ETS-WS/ETS-WS/DocTemplates/ETS-Fax.docx and b/ETS-WS/ETS-WS/DocTemplates/ETS-Fax.docx differ
diff --git a/ETS-WS/ETS-WS/DocTemplates/ETS-Fax_noPrj.docx b/ETS-WS/ETS-WS/DocTemplates/ETS-Fax_noPrj.docx
index 12a787e..154eea3 100644
Binary files a/ETS-WS/ETS-WS/DocTemplates/ETS-Fax_noPrj.docx and b/ETS-WS/ETS-WS/DocTemplates/ETS-Fax_noPrj.docx differ
diff --git a/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera.docx b/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera.docx
index 6ba9828..4b55ce1 100644
Binary files a/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera.docx and b/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera.docx differ
diff --git a/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera_noPrj.docx b/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera_noPrj.docx
index 736ae94..18c1b92 100644
Binary files a/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera_noPrj.docx and b/ETS-WS/ETS-WS/DocTemplates/ETS-Lettera_noPrj.docx differ
diff --git a/ETS-WS/ETS-WS/DocTemplates/ETS-Proto.docx b/ETS-WS/ETS-WS/DocTemplates/ETS-Proto.docx
new file mode 100644
index 0000000..ad96f2b
Binary files /dev/null and b/ETS-WS/ETS-WS/DocTemplates/ETS-Proto.docx differ
diff --git a/ETS-WS/ETS-WS/MenuExtenderExample.aspx b/ETS-WS/ETS-WS/MenuExtenderExample.aspx
deleted file mode 100644
index 754577d..0000000
--- a/ETS-WS/ETS-WS/MenuExtenderExample.aspx
+++ /dev/null
@@ -1,102 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" %>
-
-<%@ Register assembly="SCS.MenuExtender" namespace="SCS.Web.UI.WebControls" tagprefix="cc1" %>
-
-
-
-
-
- MenuExtender Sample
-
-
-
-
-
-
-
-
diff --git a/ETS-WS/ETS-WS/WebShipUtils.cs b/ETS-WS/ETS-WS/WebShipUtils.cs
index 65ab71d..c96f2c1 100644
--- a/ETS-WS/ETS-WS/WebShipUtils.cs
+++ b/ETS-WS/ETS-WS/WebShipUtils.cs
@@ -384,6 +384,7 @@ namespace ETS_WS
FileInfo file = dir.GetFiles("*.eml", SearchOption.TopDirectoryOnly).OrderByDescending(m => m.CreationTimeUtc).First();
// hack: inserisco il campo "non inviato" nel file di testo della email... "X-Unsent: 1"
StreamWriter sw = file.AppendText();
+ sw.Write(Environment.NewLine);
sw.Write("X-Unsent: 1");
sw.Flush();
return file.Name;
@@ -696,21 +697,32 @@ namespace ETS_WS
docsData = docMetaFromIdxFile(idxFile);
// recupero full path del documento
string fullPath = HttpContext.Current.Server.MapPath(string.Format("{0}{1}", pathDest, WebShipUtils.nomeFileFullFromIdxFile(idxFile)));
- string protocollo = WebShipUtils.protocolloFromIdxFile(idxFile);
- string commessa = WebShipUtils.commessaFromIdxFile(idxFile);
- string oggetto = WebShipUtils.oggettoFromIdxFile(idxFile);
- string fonte = WebShipUtils.fonteFromIdxFile(idxFile);
+ string NumProt = WebShipUtils.protocolloFromIdxFile(idxFile);
+ string NumCommessa = WebShipUtils.commessaFromIdxFile(idxFile);
+ string OggettoDoc = WebShipUtils.oggettoFromIdxFile(idxFile);
+ string FonteDoc = WebShipUtils.fonteFromIdxFile(idxFile);
+ string FaxNum = "-"; //Il numero di fax del destinatario (desunto, se c’è, dal DB di TheBook)
+ try
+ {
+ DS_utils.v_selFonti_explDataTable tabVSFE = utils.obj.taVSFE.getByFonte(FonteDoc);
+ if (tabVSFE.Rows.Count > 0)
+ {
+ FaxNum = tabVSFE[0].Fax;
+ }
+ }
+ catch
+ { }
// se il nome contiene "docx" faccio sostituzioni...
if (nomeTemplate.IndexOf("docx") >= 0)
{
// prendo il nuovo file generato e sostituisco parte del nome con il codice protocollo // link: msdn.microsoft.com/en-us/library/bb508261.aspx
- officeXmlMan.replaceDocxText(fullPath, "Protocollo", protocollo);
+ officeXmlMan.replaceDocxText(fullPath, "NumProt", NumProt);
officeXmlMan.replaceDocxText(fullPath, "DataDoc", docsData.dataDoc.ToShortDateString());
- officeXmlMan.replaceDocxText(fullPath, "Anno", docsData.dataDoc.Year.ToString());
- officeXmlMan.replaceDocxText(fullPath, "Commessa", commessa);
- officeXmlMan.replaceDocxText(fullPath, "OggettoDoc", oggetto);
- officeXmlMan.replaceDocxText(fullPath, "Fonte", fonte);
- officeXmlMan.replaceDocxText(fullPath, "Redattore", utils.obj.currUserCognomeNome);
+ officeXmlMan.replaceDocxText(fullPath, "NumCommessa", NumCommessa);
+ officeXmlMan.replaceDocxText(fullPath, "OggettoDoc", OggettoDoc);
+ officeXmlMan.replaceDocxText(fullPath, "FonteDoc", FonteDoc);
+ officeXmlMan.replaceDocxText(fullPath, "RedattoreDoc", utils.obj.currUserCognomeNome);
+ officeXmlMan.replaceDocxText(fullPath, "FaxNum", FaxNum);
}
else if (nomeTemplate.IndexOf("eml") >= 0)
{
@@ -728,8 +740,8 @@ namespace ETS_WS
{
destinatario = mittente;
}
- string subject = string.Format("{0}, prot. num {1}", docsData.oggetto, protocollo);
- string body = string.Format("Villa D'Almè, {1:dd/MM/yyyy}{0}Rif.Comm. N.: {2}{0}Prot. N.: {3}{0}{0}{0}{0}Distinti Saluti.{0}{4}{0}{0}ETS S.p.a.{0}Via Mazzi, 32 - 24018 Villa D'Almè (BG){0}Trasmesso da:{0}{5}", Environment.NewLine, docsData.dataDoc, docsData.commessa, protocollo, redattore, mittente);
+ string subject = string.Format("{0}, prot. num {1}", docsData.oggetto, NumProt);
+ string body = string.Format("Villa D'Almè, {1:dd/MM/yyyy}{0}Rif.Comm. N.: {2}{0}Prot. N.: {3}{0}{0}{0}{0}Distinti Saluti.{0}{4}{0}{0}ETS S.p.a.{0}Via Mazzi, 32 - 24018 Villa D'Almè (BG){0}Trasmesso da:{0}{5}", Environment.NewLine, docsData.dataDoc, docsData.commessa, NumProt, redattore, mittente);
string newFileName = WebShipUtils.CreaEml(mittente, destinatario, subject, body, null, HttpContext.Current.Server.MapPath(pathDest));
// sostituisco file appena creato con quello nuovo
fileMover.obj.muoviFile(pathDest, pathDest, newFileName, WebShipUtils.nomeFileFullFromIdxFile(idxFile), true);
diff --git a/ETS-WS/ETS-WS/bin/ETS-WS.dll b/ETS-WS/ETS-WS/bin/ETS-WS.dll
index cec417e..cc2d7d9 100644
Binary files a/ETS-WS/ETS-WS/bin/ETS-WS.dll and b/ETS-WS/ETS-WS/bin/ETS-WS.dll differ
diff --git a/ETS-WS/ETS-WS/bin/ETS_Data.dll b/ETS-WS/ETS-WS/bin/ETS_Data.dll
index 542dadc..6de14c7 100644
Binary files a/ETS-WS/ETS-WS/bin/ETS_Data.dll and b/ETS-WS/ETS-WS/bin/ETS_Data.dll differ
diff --git a/ETS_Data/DS_utils.Designer.cs b/ETS_Data/DS_utils.Designer.cs
index f95dad2..34b2815 100644
--- a/ETS_Data/DS_utils.Designer.cs
+++ b/ETS_Data/DS_utils.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.17929
+// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -50,6 +50,8 @@ namespace ETS_Data {
private v_selTMDDataTable tablev_selTMD;
+ private v_selFonti_explDataTable tablev_selFonti_expl;
+
private filesDataTable tablefiles;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
@@ -119,6 +121,9 @@ namespace ETS_Data {
if ((ds.Tables["v_selTMD"] != null)) {
base.Tables.Add(new v_selTMDDataTable(ds.Tables["v_selTMD"]));
}
+ if ((ds.Tables["v_selFonti_expl"] != null)) {
+ base.Tables.Add(new v_selFonti_explDataTable(ds.Tables["v_selFonti_expl"]));
+ }
if ((ds.Tables["files"] != null)) {
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
}
@@ -270,6 +275,16 @@ namespace ETS_Data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public v_selFonti_explDataTable v_selFonti_expl {
+ get {
+ return this.tablev_selFonti_expl;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -386,6 +401,9 @@ namespace ETS_Data {
if ((ds.Tables["v_selTMD"] != null)) {
base.Tables.Add(new v_selTMDDataTable(ds.Tables["v_selTMD"]));
}
+ if ((ds.Tables["v_selFonti_expl"] != null)) {
+ base.Tables.Add(new v_selFonti_explDataTable(ds.Tables["v_selFonti_expl"]));
+ }
if ((ds.Tables["files"] != null)) {
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
}
@@ -500,6 +518,12 @@ namespace ETS_Data {
this.tablev_selTMD.InitVars();
}
}
+ this.tablev_selFonti_expl = ((v_selFonti_explDataTable)(base.Tables["v_selFonti_expl"]));
+ if ((initTable == true)) {
+ if ((this.tablev_selFonti_expl != null)) {
+ this.tablev_selFonti_expl.InitVars();
+ }
+ }
this.tablefiles = ((filesDataTable)(base.Tables["files"]));
if ((initTable == true)) {
if ((this.tablefiles != null)) {
@@ -542,6 +566,8 @@ namespace ETS_Data {
base.Tables.Add(this.tablev_tbDocs_selRedattore);
this.tablev_selTMD = new v_selTMDDataTable();
base.Tables.Add(this.tablev_selTMD);
+ this.tablev_selFonti_expl = new v_selFonti_explDataTable();
+ base.Tables.Add(this.tablev_selFonti_expl);
this.tablefiles = new filesDataTable();
base.Tables.Add(this.tablefiles);
}
@@ -624,6 +650,12 @@ namespace ETS_Data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializev_selFonti_expl() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializefiles() {
@@ -724,6 +756,9 @@ namespace ETS_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_selTMDRowChangeEventHandler(object sender, v_selTMDRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void v_selFonti_explRowChangeEventHandler(object sender, v_selFonti_explRowChangeEvent e);
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void filesRowChangeEventHandler(object sender, filesRowChangeEvent e);
@@ -4232,6 +4267,329 @@ namespace ETS_Data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class v_selFonti_explDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnvalue;
+
+ private global::System.Data.DataColumn columnlabel;
+
+ private global::System.Data.DataColumn columnTelefono;
+
+ private global::System.Data.DataColumn columnFax;
+
+ private global::System.Data.DataColumn columnEmail;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explDataTable() {
+ this.TableName = "v_selFonti_expl";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_selFonti_explDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected v_selFonti_explDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn valueColumn {
+ get {
+ return this.columnvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn labelColumn {
+ get {
+ return this.columnlabel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TelefonoColumn {
+ get {
+ return this.columnTelefono;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FaxColumn {
+ get {
+ return this.columnFax;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn EmailColumn {
+ get {
+ return this.columnEmail;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explRow this[int index] {
+ get {
+ return ((v_selFonti_explRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selFonti_explRowChangeEventHandler v_selFonti_explRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selFonti_explRowChangeEventHandler v_selFonti_explRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selFonti_explRowChangeEventHandler v_selFonti_explRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_selFonti_explRowChangeEventHandler v_selFonti_explRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Addv_selFonti_explRow(v_selFonti_explRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explRow Addv_selFonti_explRow(string value, string label, string Telefono, string Fax, string Email) {
+ v_selFonti_explRow rowv_selFonti_explRow = ((v_selFonti_explRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ value,
+ label,
+ Telefono,
+ Fax,
+ Email};
+ rowv_selFonti_explRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowv_selFonti_explRow);
+ return rowv_selFonti_explRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explRow FindByvalue(string value) {
+ return ((v_selFonti_explRow)(this.Rows.Find(new object[] {
+ value})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ v_selFonti_explDataTable cln = ((v_selFonti_explDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new v_selFonti_explDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnvalue = base.Columns["value"];
+ this.columnlabel = base.Columns["label"];
+ this.columnTelefono = base.Columns["Telefono"];
+ this.columnFax = base.Columns["Fax"];
+ this.columnEmail = base.Columns["Email"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnvalue);
+ this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlabel);
+ this.columnTelefono = new global::System.Data.DataColumn("Telefono", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTelefono);
+ this.columnFax = new global::System.Data.DataColumn("Fax", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFax);
+ this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnEmail);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnvalue}, true));
+ this.columnvalue.AllowDBNull = false;
+ this.columnvalue.Unique = true;
+ this.columnvalue.MaxLength = 5;
+ this.columnlabel.AllowDBNull = false;
+ this.columnlabel.MaxLength = 200;
+ this.columnTelefono.ReadOnly = true;
+ this.columnTelefono.MaxLength = 100;
+ this.columnFax.ReadOnly = true;
+ this.columnFax.MaxLength = 50;
+ this.columnEmail.ReadOnly = true;
+ this.columnEmail.MaxLength = 200;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explRow Newv_selFonti_explRow() {
+ return ((v_selFonti_explRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new v_selFonti_explRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(v_selFonti_explRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.v_selFonti_explRowChanged != null)) {
+ this.v_selFonti_explRowChanged(this, new v_selFonti_explRowChangeEvent(((v_selFonti_explRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.v_selFonti_explRowChanging != null)) {
+ this.v_selFonti_explRowChanging(this, new v_selFonti_explRowChangeEvent(((v_selFonti_explRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.v_selFonti_explRowDeleted != null)) {
+ this.v_selFonti_explRowDeleted(this, new v_selFonti_explRowChangeEvent(((v_selFonti_explRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.v_selFonti_explRowDeleting != null)) {
+ this.v_selFonti_explRowDeleting(this, new v_selFonti_explRowChangeEvent(((v_selFonti_explRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Removev_selFonti_explRow(v_selFonti_explRow 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_utils ds = new DS_utils();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "v_selFonti_explDataTable";
+ 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 the strongly named DataTable class.
///
@@ -5286,6 +5644,127 @@ namespace ETS_Data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class v_selFonti_explRow : global::System.Data.DataRow {
+
+ private v_selFonti_explDataTable tablev_selFonti_expl;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_selFonti_explRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablev_selFonti_expl = ((v_selFonti_explDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string value {
+ get {
+ return ((string)(this[this.tablev_selFonti_expl.valueColumn]));
+ }
+ set {
+ this[this.tablev_selFonti_expl.valueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string label {
+ get {
+ return ((string)(this[this.tablev_selFonti_expl.labelColumn]));
+ }
+ set {
+ this[this.tablev_selFonti_expl.labelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Telefono {
+ get {
+ try {
+ return ((string)(this[this.tablev_selFonti_expl.TelefonoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Telefono\' in table \'v_selFonti_expl\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_selFonti_expl.TelefonoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Fax {
+ get {
+ try {
+ return ((string)(this[this.tablev_selFonti_expl.FaxColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Fax\' in table \'v_selFonti_expl\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_selFonti_expl.FaxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Email {
+ get {
+ try {
+ return ((string)(this[this.tablev_selFonti_expl.EmailColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Email\' in table \'v_selFonti_expl\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_selFonti_expl.EmailColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsTelefonoNull() {
+ return this.IsNull(this.tablev_selFonti_expl.TelefonoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetTelefonoNull() {
+ this[this.tablev_selFonti_expl.TelefonoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFaxNull() {
+ return this.IsNull(this.tablev_selFonti_expl.FaxColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFaxNull() {
+ this[this.tablev_selFonti_expl.FaxColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsEmailNull() {
+ return this.IsNull(this.tablev_selFonti_expl.EmailColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetEmailNull() {
+ this[this.tablev_selFonti_expl.EmailColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -5855,6 +6334,40 @@ namespace ETS_Data {
}
}
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class v_selFonti_explRowChangeEvent : global::System.EventArgs {
+
+ private v_selFonti_explRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explRowChangeEvent(v_selFonti_explRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explRow 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;
+ }
+ }
+ }
+
///
///Row event argument class
///
@@ -8557,6 +9070,200 @@ namespace ETS_Data.DS_utilsTableAdapters {
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class v_selFonti_explTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_selFonti_explTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "v_selFonti_expl";
+ tableMapping.ColumnMappings.Add("value", "value");
+ tableMapping.ColumnMappings.Add("label", "label");
+ tableMapping.ColumnMappings.Add("Telefono", "Telefono");
+ tableMapping.ColumnMappings.Add("Fax", "Fax");
+ tableMapping.ColumnMappings.Add("Email", "Email");
+ 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::ETS_Data.Properties.Settings.Default.ETS_WSConnectionString;
+ }
+
+ [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[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT value, label, Telefono, Fax, Email FROM dbo.v_selFonti_expl";
+ 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_VSFE_getByFonte";
+ 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("@fonte", global::System.Data.SqlDbType.NVarChar, 200, 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_utils.v_selFonti_explDataTable 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_utils.v_selFonti_explDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_utils.v_selFonti_explDataTable dataTable = new DS_utils.v_selFonti_explDataTable();
+ 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_utils.v_selFonti_explDataTable getByFonte(string fonte) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((fonte == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(fonte));
+ }
+ DS_utils.v_selFonti_explDataTable dataTable = new DS_utils.v_selFonti_explDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
diff --git a/ETS_Data/DS_utils.xsd b/ETS_Data/DS_utils.xsd
index 43bdccd..3967d2f 100644
--- a/ETS_Data/DS_utils.xsd
+++ b/ETS_Data/DS_utils.xsd
@@ -414,6 +414,38 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
+
+
+
+
+
+ SELECT value, label, Telefono, Fax, Email FROM dbo.v_selFonti_expl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_VSFE_getByFonte
+
+
+
+
+
+
+
+
+
@@ -422,7 +454,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -442,7 +474,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -456,7 +488,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -470,7 +502,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -480,7 +512,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -500,7 +532,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -520,7 +552,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -540,7 +572,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -560,7 +592,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -580,7 +612,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -589,7 +621,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -609,7 +641,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -622,7 +654,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -642,7 +674,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
-
+
@@ -669,6 +701,47 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -692,5 +765,9 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
+
+
+
+
\ No newline at end of file
diff --git a/ETS_Data/DS_utils.xss b/ETS_Data/DS_utils.xss
index 15079ea..8369704 100644
--- a/ETS_Data/DS_utils.xss
+++ b/ETS_Data/DS_utils.xss
@@ -4,22 +4,23 @@
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/ETS_Data/bin/Release/ETS_Data.dll b/ETS_Data/bin/Release/ETS_Data.dll
index d413c76..6de14c7 100644
Binary files a/ETS_Data/bin/Release/ETS_Data.dll and b/ETS_Data/bin/Release/ETS_Data.dll differ
diff --git a/ETS_Data/utils.cs b/ETS_Data/utils.cs
index aa587c5..750805b 100644
--- a/ETS_Data/utils.cs
+++ b/ETS_Data/utils.cs
@@ -26,6 +26,7 @@ namespace ETS_Data
public DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter taCalcProto;
public DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter taEmailForn;
public DS_utilsTableAdapters.AnagSuggestTagsTableAdapter taAST;
+ public DS_utilsTableAdapters.v_selFonti_explTableAdapter taVSFE;
public DS_WebScipTableAdapters.tbDocumentiTableAdapter taDoc;
public DS_WebScipTableAdapters.Tags2DocTableAdapter taTags2Doc;
@@ -52,6 +53,7 @@ namespace ETS_Data
taCalcProto = new DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter();
taEmailForn = new DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter();
taAST = new DS_utilsTableAdapters.AnagSuggestTagsTableAdapter();
+ taVSFE = new DS_utilsTableAdapters.v_selFonti_explTableAdapter();
taDoc = new DS_WebScipTableAdapters.tbDocumentiTableAdapter();
taTags2Doc = new DS_WebScipTableAdapters.Tags2DocTableAdapter();
taTMD = new DS_WebScipTableAdapters.tbMetaDataSetTableAdapter();
@@ -80,6 +82,7 @@ namespace ETS_Data
taCalcProto.Connection.ConnectionString = connStringETS_WS;
taEmailForn.Connection.ConnectionString = connStringETS_WS;
taAST.Connection.ConnectionString = connStringETS_WS;
+ taVSFE.Connection.ConnectionString = connStringETS_WS;
taDoc.Connection.ConnectionString = connStringETS_WS;
taTags2Doc.Connection.ConnectionString = connStringETS_WS;
taTMD.Connection.ConnectionString = connStringETS_WS;