Merge branch 'develop' into EQUA

This commit is contained in:
Samuele Locatelli
2021-05-05 18:18:45 +02:00
14 changed files with 678 additions and 425 deletions
Vendored
+1 -1
View File
@@ -11,7 +11,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=260']) {
withEnv(['NEXT_BUILD_NUMBER=261']) {
// env.versionNumber = VersionNumber(versionNumberString : '1.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '1.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'CMS-SC'
+88 -89
View File
@@ -6,99 +6,98 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head runat="server">
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="XPS site" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>XPS Steamware</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="XPS site" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>XPS Steamware</title>
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
<%: System.Web.Optimization.Scripts.Render("~/bundles/modernizr") %>
<%: System.Web.Optimization.Scripts.Render("~/bundles/jquery") %>
<%: System.Web.Optimization.Scripts.Render("~/bundles/jqueryui") %>
<%: System.Web.Optimization.Scripts.Render("~/bundles/bootSwitch") %>
</asp:PlaceHolder>
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
<webopt:BundleReference ID="BundleReference2" runat="server" Path="~/Content/themes/base/css" />
<asp:ContentPlaceHolder ID="Head" runat="server">
</asp:ContentPlaceHolder>
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
<%: System.Web.Optimization.Scripts.Render("~/bundles/modernizr") %>
<%: System.Web.Optimization.Scripts.Render("~/bundles/jquery") %>
<%: System.Web.Optimization.Scripts.Render("~/bundles/jqueryui") %>
<%: System.Web.Optimization.Scripts.Render("~/bundles/bootSwitch") %>
</asp:PlaceHolder>
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
<webopt:BundleReference ID="BundleReference2" runat="server" Path="~/Content/themes/base/css" />
<asp:ContentPlaceHolder ID="Head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=272931&clcid=0x409 --%>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<div class="container-fluid">
<uc1:mod_testata runat="server" ID="mod_testata" />
</div>
<div class="headSpacer"></div>
<div class="container-flow" role="main">
<asp:UpdatePanel ID="uppFeatured" runat="server">
<ContentTemplate>
<asp:ContentPlaceHolder runat="server" ID="FeaturedContent">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="uppContainer" runat="server">
<ContentTemplate>
<main>
<asp:ContentPlaceHolder ID="Main" runat="server">
<h1>hello world!</h1>
Area main content da customizzare
</asp:ContentPlaceHolder>
</main>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<asp:UpdatePanel ID="uppFooter" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
</asp:Timer>
<footer>
<div class="navbar navbar-dark bg-dark fixed-bottom py-1" role="navigation">
<div class="container-fluid py-0 my-0">
<div class="navbar-text navbar-left py-0">
<asp:Label runat="server" ID="lblDateTime">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=272931&clcid=0x409 --%>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<div class="container-fluid">
<uc1:mod_testata runat="server" ID="mod_testata" />
</div>
<div class="headSpacer mb-3"></div>
<div class="container-flow" role="main">
<asp:UpdatePanel ID="uppFeatured" runat="server">
<ContentTemplate>
<asp:ContentPlaceHolder runat="server" ID="FeaturedContent">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="uppContainer" runat="server">
<ContentTemplate>
<main>
<asp:ContentPlaceHolder ID="Main" runat="server">
<h1>hello world!</h1>
Area main content da customizzare
</asp:ContentPlaceHolder>
</main>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<asp:UpdatePanel ID="uppFooter" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
</asp:Timer>
<footer>
<div class="navbar navbar-dark bg-dark fixed-bottom py-1" role="navigation">
<div class="container-fluid py-0 my-0">
<div class="navbar-text navbar-left py-0">
<asp:Label runat="server" ID="lblDateTime">
<%: DateTime.Now %></asp:Label>
|
|
<asp:Label runat="server" ID="lblUtente"><%: SteamWare.devicesAuthProxy.stObj.CognomeNome%></asp:Label>
</div>
<div class="navbar-text navbar-right py-0">
<b><%: SteamWare.memLayer.ML.CRS("CodModulo") %></b>
<asp:Label runat="server" ID="lblVers" />
|
2010-<%: DateTime.Now.Year %>&copy;
</div>
<div class="navbar-text navbar-right py-0">
<b><%: SteamWare.memLayer.ML.CRS("CodModulo") %></b>
<asp:Label runat="server" ID="lblVers" />
|
2010-<%: DateTime.Now.Year %>&copy;
<asp:Image ID="logoSW" ImageUrl="~/images/logoSteamware.png" runat="server" Height="22px" AlternateText="SteamWare" />
</div>
</div>
</div>
</footer>
</ContentTemplate>
</asp:UpdatePanel>
<div class="col-12" style="min-height: 3em;">
</div>
</form>
<script src="Scripts/bootstrap.min.js"></script>
<asp:PlaceHolder ID="PlaceHolder2" runat="server">
<%: System.Web.Optimization.Scripts.Render("~/bundles/jSteamware") %>
</asp:PlaceHolder>
</div>
</div>
</div>
</footer>
</ContentTemplate>
</asp:UpdatePanel>
<div class="col-12" style="min-height: 3em;">
</div>
</form>
<script src="Scripts/bootstrap.min.js"></script>
<asp:PlaceHolder ID="PlaceHolder2" runat="server">
<%: System.Web.Optimization.Scripts.Render("~/bundles/jSteamware") %>
</asp:PlaceHolder>
</body>
</html>
</html>
+83 -81
View File
@@ -1,176 +1,178 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPS {
public partial class Bootstrap {
namespace XPS
{
public partial class Bootstrap
{
/// <summary>
/// Controllo PlaceHolder1.
/// PlaceHolder1 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder1;
/// <summary>
/// Controllo BundleReference1.
/// BundleReference1 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
/// <summary>
/// Controllo BundleReference2.
/// BundleReference2 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
/// <summary>
/// Controllo Head.
/// Head control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder Head;
/// <summary>
/// Controllo form1.
/// form1 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// Controllo ScriptManager1.
/// ScriptManager1 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager ScriptManager1;
/// <summary>
/// Controllo mod_testata.
/// mod_testata control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPS.WebUserControls.mod_testata mod_testata;
/// <summary>
/// Controllo uppFeatured.
/// uppFeatured control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel uppFeatured;
/// <summary>
/// Controllo FeaturedContent.
/// FeaturedContent control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent;
/// <summary>
/// Controllo uppContainer.
/// uppContainer control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel uppContainer;
/// <summary>
/// Controllo Main.
/// Main control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder Main;
/// <summary>
/// Controllo uppFooter.
/// uppFooter control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel uppFooter;
/// <summary>
/// Controllo Timer1.
/// Timer1 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.Timer Timer1;
/// <summary>
/// Controllo lblDateTime.
/// lblDateTime control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblDateTime;
/// <summary>
/// Controllo lblUtente.
/// lblUtente control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblUtente;
/// <summary>
/// Controllo lblVers.
/// lblVers control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblVers;
/// <summary>
/// Controllo logoSW.
/// logoSW control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image logoSW;
/// <summary>
/// Controllo PlaceHolder2.
/// PlaceHolder2 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder2;
}
+8
View File
@@ -0,0 +1,8 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_numRow.ascx.cs" Inherits="XPS.WebUserControls.cmp_numRow" %>
<div class="input-group input-group-sm">
<div class="input-group-prepend">
<span class="input-group-text">righe/pag</span>
</div>
<asp:TextBox runat="server" ID="txtNumRow" AutoPostBack="true" OnTextChanged="txtNumRow_TextChanged" CssClass="form-control" Width="5em" TextMode="Number" />
</div>
+57
View File
@@ -0,0 +1,57 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace XPS.WebUserControls
{
public partial class cmp_numRow : System.Web.UI.UserControl
{
#region Public Events
public event EventHandler eh_selValore;
#endregion Public Events
#region Public Properties
public int numRow
{
get
{
int answ = 10;
int.TryParse(txtNumRow.Text, out answ);
return answ > 0 ? answ : 10; ;
}
set
{
txtNumRow.Text = $"{value}";
}
}
#endregion Public Properties
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
numRow = 10;
}
}
protected void txtNumRow_TextChanged(object sender, EventArgs e)
{
// sollevo evento nuovo valore...
if (eh_selValore != null)
{
eh_selValore(this, new EventArgs());
}
}
#endregion Protected Methods
}
}
+26
View File
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPS.WebUserControls
{
public partial class cmp_numRow
{
/// <summary>
/// txtNumRow control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNumRow;
}
}
+51 -25
View File
@@ -1,30 +1,56 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="XPS.WebUserControls.mod_update"
CodeBehind="mod_update.ascx.cs" %>
<%--<p>
Modulo di update...</p>
<p>
&nbsp;</p>
<p>
faremo tante cose</p>
<p>
&nbsp;</p>
<p>
1) wizard install<br />
2) wizard di upgrade db</p>
<p>
per ora sarà solo visibile SOLO la funzione di sync dati del cliente (x caricare i dati dell'anagrafica...)</p>--%>
<h2>
Aggiorna anagrafica clienti
</h2>
<p>
con questa funzione verranno ricaricate le anagrafiche dei clienti: questo significa
che i nuovi clienti saranno importati ed aggiunti, mentr per i vecchi clienti di
cui si sia cambiata la descrizione e/o la parte di indirizzo (ma mantenuto il codice
cliente) si provvederà all'aggiornamento di questi dati a pari codice.</p>
<asp:LinkButton ID="Button1" runat="server" OnClick="Button1_Click" CssClass="styleBtnComposito">
<img src="images/refresh_16.png" style="border-style: none; margin-right: 0.2em;"
width="13px" height="13px" /><asp:Label ID="lblReset" runat="server" Text="Esegui update" /></asp:LinkButton>
<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
<div class="row">
<div class="col-8">
<h2>Aggiorna anagrafica clienti</h2>
</div>
<div class="col-4">
<asp:LinkButton ID="Button1" runat="server" OnClick="Button1_Click" CssClass="btn btn-block btn-success styleBtnComposito">
<img src="images/refresh_16.png" style="border-style: none; margin-right: 0.2em;"
width="13px" height="13px" /><asp:Label ID="lblReset" runat="server" Text="Esegui update" />
</asp:LinkButton></div><div class="col-12">
Cliccando sul button "Esegui upgrade" verranno ricaricate le anagrafiche dei clienti: questo significa che i nuovi clienti saranno importati ed aggiunti, mentr per i vecchi clienti di cui si sia cambiata la descrizione e/o la parte di indirizzo (ma mantenuto il codicecliente) si provvederà all'aggiornamento di questi dati a pari codice. </div><div class="col-12">
<div class="card">
<div class="card-header">
<h4>Elenco Clienti</h4></div><div class="card-body py-1">
<asp:GridView runat="server" ID="grView" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="CodCliente" DataSourceID="ods" CssClass="table table-striped table-sm fontCond mb-0">
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<Columns>
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="btn btn-sm btn-primary"><i class="fa fa-refresh" aria-hidden="true"></i></asp:LinkButton></HeaderTemplate><ItemTemplate>
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" CssClass="btn btn-sm btn-info" ToolTip="Modifica Email"><i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton></ItemTemplate><EditItemTemplate>
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="False" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-sm btn-danger"><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton></EditItemTemplate></asp:TemplateField><asp:BoundField DataField="CodCliente" HeaderText="CodCliente" ReadOnly="True" SortExpression="CodCliente" />
<asp:BoundField DataField="RagioneSociale" HeaderText="RagioneSociale" SortExpression="RagioneSociale" ReadOnly="True" />
<asp:BoundField DataField="piva" HeaderText="piva" SortExpression="piva" ReadOnly="True" />
<asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
<asp:BoundField DataField="indirizzo" HeaderText="indirizzo" SortExpression="indirizzo" ReadOnly="True" />
<asp:BoundField DataField="cap" HeaderText="cap" SortExpression="cap" ReadOnly="True" />
<asp:BoundField DataField="localita" HeaderText="localita" SortExpression="localita" ReadOnly="True" />
<asp:BoundField DataField="provincia" HeaderText="provincia" SortExpression="provincia" ReadOnly="True" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_applicazioneTableAdapters.AnagClientiTableAdapter" FilterExpression=" ( CodCliente LIKE '%{0}%' OR RagioneSociale LIKE '%{0}%' OR email LIKE '%{0}%' )" UpdateMethod="UpdateEmail">
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
<div class="card-footer py-0 text-right">
<div class="d-flex flex-row-reverse">
<div class="p-0">
<uc1:cmp_numRow runat="server" ID="cmp_numRow" />
</div>
</div>
</div>
</div>
</div>
</div>
<br />
<asp:Label ID="lblStart" runat="server" Text="" />
<br />
<asp:Label ID="lblEnd" runat="server" Text="" />
<asp:Label ID="lblEnd" runat="server" Text="" />
+53 -2
View File
@@ -9,14 +9,65 @@ namespace XPS.WebUserControls
{
public partial class mod_update : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
#region Public Events
public event EventHandler eh_resetSelezione;
#endregion Public Events
#region Private Methods
private void Cmp_numRow_eh_selValore(object sender, EventArgs e)
{
grView.PageSize = cmp_numRow.numRow;
}
#endregion Private Methods
#region Protected Methods
/// <summary>
/// reset della selezione
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
protected void Button1_Click(object sender, EventArgs e)
{
lblStart.Text = "inizio sync...";
lblEnd.Text = extSync.obj.caricaClienti();
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
grView.PageSize = cmp_numRow.numRow;
}
cmp_numRow.eh_selValore += Cmp_numRow_eh_selValore;
}
#endregion Protected Methods
#region Public Methods
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
#endregion Public Methods
}
}
+38 -10
View File
@@ -1,18 +1,19 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4963
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XPS.WebUserControls {
public partial class mod_update {
namespace XPS.WebUserControls
{
public partial class mod_update
{
/// <summary>
/// Button1 control.
/// </summary>
@@ -21,7 +22,7 @@ namespace XPS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton Button1;
/// <summary>
/// lblReset control.
/// </summary>
@@ -30,7 +31,34 @@ namespace XPS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblReset;
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// cmp_numRow control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::XPS.WebUserControls.cmp_numRow cmp_numRow;
/// <summary>
/// lblStart control.
/// </summary>
@@ -39,7 +67,7 @@ namespace XPS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblStart;
/// <summary>
/// lblEnd control.
/// </summary>
+8
View File
@@ -836,6 +836,13 @@
<Compile Include="vocabolario.aspx.designer.cs">
<DependentUpon>vocabolario.aspx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_numRow.ascx.cs">
<DependentUpon>cmp_numRow.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_numRow.ascx.designer.cs">
<DependentUpon>cmp_numRow.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_anagraficaEventi.ascx.cs">
<DependentUpon>mod_anagraficaEventi.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1157,6 +1164,7 @@
<Content Include="scadenziarioCommesse.aspx" />
<Content Include="update.aspx" />
<Content Include="vocabolario.aspx" />
<Content Include="WebUserControls\cmp_numRow.ascx" />
<Content Include="WebUserControls\mod_anagraficaEventi.ascx" />
<Content Include="WebUserControls\mod_anagraficaMappe.ascx" />
<Content Include="WebUserControls\mod_anagraficaStati.ascx" />
+58 -59
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -3854,7 +3854,7 @@ namespace XPS_data {
return ((string)(this[this.tableNote.CodFaseColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodFase\' nella tabella \'Note\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'CodFase\' in table \'Note\' is DBNull.", e);
}
}
set {
@@ -3870,7 +3870,7 @@ namespace XPS_data {
return ((string)(this[this.tableNote.UserNotaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserNota\' nella tabella \'Note\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'UserNota\' in table \'Note\' is DBNull.", e);
}
}
set {
@@ -3886,7 +3886,7 @@ namespace XPS_data {
return ((global::System.DateTime)(this[this.tableNote.DataColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Data\' nella tabella \'Note\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'Note\' is DBNull.", e);
}
}
set {
@@ -3902,7 +3902,7 @@ namespace XPS_data {
return ((bool)(this[this.tableNote.ExtViewColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'ExtView\' nella tabella \'Note\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Note\' is DBNull.", e);
}
}
set {
@@ -4025,7 +4025,7 @@ namespace XPS_data {
return ((int)(this[this.tableStep4Obj.IdxStatoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxStato\' nella tabella \'Step4Obj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'Step4Obj\' is DBNull.", e);
}
}
set {
@@ -4041,7 +4041,7 @@ namespace XPS_data {
return ((global::System.DateTime)(this[this.tableStep4Obj.StartDatePrevColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'StartDatePrev\' nella tabella \'Step4Obj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'StartDatePrev\' in table \'Step4Obj\' is DBNull.", e);
}
}
set {
@@ -4057,7 +4057,7 @@ namespace XPS_data {
return ((global::System.DateTime)(this[this.tableStep4Obj.DueDatePrevColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDatePrev\' nella tabella \'Step4Obj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DueDatePrev\' in table \'Step4Obj\' is DBNull.", e);
}
}
set {
@@ -4073,7 +4073,7 @@ namespace XPS_data {
return ((global::System.DateTime)(this[this.tableStep4Obj.StartDateRealColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'StartDateReal\' nella tabella \'Step4Obj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'StartDateReal\' in table \'Step4Obj\' is DBNull.", e);
}
}
set {
@@ -4089,7 +4089,7 @@ namespace XPS_data {
return ((global::System.DateTime)(this[this.tableStep4Obj.DueDateRealColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDateReal\' nella tabella \'Step4Obj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DueDateReal\' in table \'Step4Obj\' is DBNull.", e);
}
}
set {
@@ -4105,7 +4105,7 @@ namespace XPS_data {
return ((double)(this[this.tableStep4Obj.RatioComplColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'RatioCompl\' nella tabella \'Step4Obj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'RatioCompl\' in table \'Step4Obj\' is DBNull.", e);
}
}
set {
@@ -4230,7 +4230,7 @@ namespace XPS_data {
return ((int)(this[this.tableObject2Set.QtaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Qta\' nella tabella \'Object2Set\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'Object2Set\' is DBNull.", e);
}
}
set {
@@ -4246,7 +4246,7 @@ namespace XPS_data {
return ((bool)(this[this.tableObject2Set.UserQtyReqColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserQtyReq\' nella tabella \'Object2Set\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'UserQtyReq\' in table \'Object2Set\' is DBNull.", e);
}
}
set {
@@ -4262,7 +4262,7 @@ namespace XPS_data {
return ((string)(this[this.tableObject2Set.PosizioneColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Posizione\' nella tabella \'Object2Set\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'Posizione\' in table \'Object2Set\' is DBNull.", e);
}
}
set {
@@ -4278,7 +4278,7 @@ namespace XPS_data {
return ((bool)(this[this.tableObject2Set.TimeTrackEnabColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'TimeTrackEnab\' nella tabella \'Object2Set\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'TimeTrackEnab\' in table \'Object2Set\' is DBNull.", e);
}
}
set {
@@ -4294,7 +4294,7 @@ namespace XPS_data {
return ((bool)(this[this.tableObject2Set.ProcReqColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'ProcReq\' nella tabella \'Object2Set\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'ProcReq\' in table \'Object2Set\' is DBNull.", e);
}
}
set {
@@ -4310,7 +4310,7 @@ namespace XPS_data {
return ((bool)(this[this.tableObject2Set.ExtViewColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'ExtView\' nella tabella \'Object2Set\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'ExtView\' in table \'Object2Set\' is DBNull.", e);
}
}
set {
@@ -4435,7 +4435,7 @@ namespace XPS_data {
return ((string)(this[this.tableUM.DescrUMColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrUM\' nella tabella \'UM\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrUM\' in table \'UM\' is DBNull.", e);
}
}
set {
@@ -4451,7 +4451,7 @@ namespace XPS_data {
return ((double)(this[this.tableUM.FattoreSIColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'FattoreSI\' nella tabella \'UM\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'FattoreSI\' in table \'UM\' is DBNull.", e);
}
}
set {
@@ -4517,7 +4517,7 @@ namespace XPS_data {
return ((string)(this[this.tableEventi.CodTipoEventoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodTipoEvento\' nella tabella \'Eventi\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'CodTipoEvento\' in table \'Eventi\' is DBNull.", e);
}
}
set {
@@ -4533,7 +4533,7 @@ namespace XPS_data {
return ((string)(this[this.tableEventi.DescrEventoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrEvento\' nella tabella \'Eventi\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'Eventi\' is DBNull.", e);
}
}
set {
@@ -4549,7 +4549,7 @@ namespace XPS_data {
return ((string)(this[this.tableEventi.ActionColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Action\' nella tabella \'Eventi\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'Action\' in table \'Eventi\' is DBNull.", e);
}
}
set {
@@ -4638,7 +4638,7 @@ namespace XPS_data {
return ((string)(this[this.tableTipoEventi.DescrTipoEvColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrTipoEv\' nella tabella \'TipoEventi\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrTipoEv\' in table \'TipoEventi\' is DBNull.", e);
}
}
set {
@@ -4714,7 +4714,7 @@ namespace XPS_data {
return ((string)(this[this.tablev_ev2stati.DescrObjColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrObj\' nella tabella \'v_ev2stati\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'v_ev2stati\' is DBNull.", e);
}
}
set {
@@ -4741,7 +4741,7 @@ namespace XPS_data {
return ((string)(this[this.tablev_ev2stati.StatoCurrColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'StatoCurr\' nella tabella \'v_ev2stati\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'StatoCurr\' in table \'v_ev2stati\' is DBNull.", e);
}
}
set {
@@ -4768,7 +4768,7 @@ namespace XPS_data {
return ((string)(this[this.tablev_ev2stati.DescrEventoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrEvento\' nella tabella \'v_ev2stati\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrEvento\' in table \'v_ev2stati\' is DBNull.", e);
}
}
set {
@@ -4784,7 +4784,7 @@ namespace XPS_data {
return ((string)(this[this.tablev_ev2stati.NextCodStatoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'NextCodStato\' nella tabella \'v_ev2stati\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'NextCodStato\' in table \'v_ev2stati\' is DBNull.", e);
}
}
set {
@@ -4800,7 +4800,7 @@ namespace XPS_data {
return ((string)(this[this.tablev_ev2stati.StatoNextColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'StatoNext\' nella tabella \'v_ev2stati\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'StatoNext\' in table \'v_ev2stati\' is DBNull.", e);
}
}
set {
@@ -4913,7 +4913,7 @@ namespace XPS_data {
return ((string)(this[this.tableAnagStati.DescrStatoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrStato\' nella tabella \'AnagStati\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e);
}
}
set {
@@ -4967,7 +4967,7 @@ namespace XPS_data {
return ((string)(this[this.tableAnagObj.DescrObjColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrObj\' nella tabella \'AnagObj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrObj\' in table \'AnagObj\' is DBNull.", e);
}
}
set {
@@ -4983,7 +4983,7 @@ namespace XPS_data {
return ((string)(this[this.tableAnagObj.FamStatoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'FamStato\' nella tabella \'AnagObj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'FamStato\' in table \'AnagObj\' is DBNull.", e);
}
}
set {
@@ -4999,7 +4999,7 @@ namespace XPS_data {
return ((bool)(this[this.tableAnagObj.ConcretoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Concreto\' nella tabella \'AnagObj\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'Concreto\' in table \'AnagObj\' is DBNull.", e);
}
}
set {
@@ -5088,7 +5088,7 @@ namespace XPS_data {
return ((string)(this[this.tableAnagMappe.DescrMappaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrMappa\' nella tabella \'AnagMappe\' è DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'DescrMappa\' in table \'AnagMappe\' is DBNull.", e);
}
}
set {
@@ -10681,54 +10681,53 @@ SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa)";
}
if (((this._noteTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._noteTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._step4ObjTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._step4ObjTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._object2SetTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._object2SetTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._uMTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._uMTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._eventiTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._eventiTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._tipoEventiTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._tipoEventiTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._anagStatiTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._anagObjTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._anagObjTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._anagMappeTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._anagMappeTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" +
"età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" +
"er valida.");
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
"ger TableAdapter property to a valid TableAdapter instance.");
}
bool workConnOpened = false;
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
@@ -10741,8 +10740,8 @@ SELECT CodMappa, DescrMappa FROM AnagMappe WHERE (CodMappa = @CodMappa)";
}
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
if ((workTransaction == null)) {
throw new global::System.ApplicationException("Impossibile avviare la transazione. La connessione dati corrente non supporta le " +
"transazioni oppure lo stato corrente non consente l\'avvio della transazione.");
throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
"ctions or the current state is not allowing the transaction to begin.");
}
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
+187 -150
View File
File diff suppressed because it is too large Load Diff
+18 -6
View File
@@ -110,6 +110,18 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_AnagCliUpdateEmail" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateEmail" Modifier="Public" Name="UpdateEmail" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateEmail">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AnagCliUpdateEmail</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodCliente" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@email" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_AnagCliUpdate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -2021,7 +2033,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ImpegniSchedulati" msprop:Generator_TableClassName="ImpegniSchedulatiDataTable" msprop:Generator_TableVarName="tableImpegniSchedulati" msprop:Generator_RowChangedName="ImpegniSchedulatiRowChanged" msprop:Generator_TablePropName="ImpegniSchedulati" msprop:Generator_RowDeletingName="ImpegniSchedulatiRowDeleting" msprop:Generator_RowChangingName="ImpegniSchedulatiRowChanging" msprop:Generator_RowEvHandlerName="ImpegniSchedulatiRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniSchedulatiRowDeleted" msprop:Generator_RowClassName="ImpegniSchedulatiRow" msprop:Generator_UserTableName="ImpegniSchedulati" msprop:Generator_RowEvArgName="ImpegniSchedulatiRowChangeEvent">
<xs:element name="ImpegniSchedulati" msprop:Generator_TableClassName="ImpegniSchedulatiDataTable" msprop:Generator_TableVarName="tableImpegniSchedulati" msprop:Generator_TablePropName="ImpegniSchedulati" msprop:Generator_RowDeletingName="ImpegniSchedulatiRowDeleting" msprop:Generator_RowChangingName="ImpegniSchedulatiRowChanging" msprop:Generator_RowEvHandlerName="ImpegniSchedulatiRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniSchedulatiRowDeleted" msprop:Generator_UserTableName="ImpegniSchedulati" msprop:Generator_RowChangedName="ImpegniSchedulatiRowChanged" msprop:Generator_RowEvArgName="ImpegniSchedulatiRowChangeEvent" msprop:Generator_RowClassName="ImpegniSchedulatiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" />
@@ -2039,7 +2051,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagLav" msprop:Generator_TableClassName="AnagLavDataTable" msprop:Generator_TableVarName="tableAnagLav" msprop:Generator_RowChangedName="AnagLavRowChanged" msprop:Generator_TablePropName="AnagLav" msprop:Generator_RowDeletingName="AnagLavRowDeleting" msprop:Generator_RowChangingName="AnagLavRowChanging" msprop:Generator_RowEvHandlerName="AnagLavRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLavRowDeleted" msprop:Generator_RowClassName="AnagLavRow" msprop:Generator_UserTableName="AnagLav" msprop:Generator_RowEvArgName="AnagLavRowChangeEvent">
<xs:element name="AnagLav" msprop:Generator_TableClassName="AnagLavDataTable" msprop:Generator_TableVarName="tableAnagLav" msprop:Generator_TablePropName="AnagLav" msprop:Generator_RowDeletingName="AnagLavRowDeleting" msprop:Generator_RowChangingName="AnagLavRowChanging" msprop:Generator_RowEvHandlerName="AnagLavRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLavRowDeleted" msprop:Generator_UserTableName="AnagLav" msprop:Generator_RowChangedName="AnagLavRowChanged" msprop:Generator_RowEvArgName="AnagLavRowChangeEvent" msprop:Generator_RowClassName="AnagLavRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxLav" msprop:Generator_ColumnVarNameInTable="columnIdxLav" msprop:Generator_ColumnPropNameInRow="IdxLav" msprop:Generator_ColumnPropNameInTable="IdxLavColumn" msprop:Generator_UserColumnName="IdxLav">
@@ -2123,10 +2135,10 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Tratt2Obj_AnagTrattamenti" msdata:parent="AnagTrattamenti" msdata:child="Tratt2Obj" msdata:parentkey="CodTrattamento" msdata:childkey="CodTrattamento" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_AnagTrattamenti" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_AnagTrattamenti" msprop:Generator_UserParentTable="AnagTrattamenti" msprop:Generator_ParentPropName="AnagTrattamentiRow" />
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserParentTable="IstObj" msprop:Generator_ParentPropName="IstObjRow" />
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserChildTable="IstObj" msprop:Generator_ChildPropName="GetIstObjRows" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" />
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_ChildPropName="GetTraEv2StatiRows" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserParentTable="Eventi" msprop:Generator_ParentPropName="EventiRow" />
<msdata:Relationship name="FK_Tratt2Obj_AnagTrattamenti" msdata:parent="AnagTrattamenti" msdata:child="Tratt2Obj" msdata:parentkey="CodTrattamento" msdata:childkey="CodTrattamento" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_AnagTrattamenti" msprop:Generator_ParentPropName="AnagTrattamentiRow" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_AnagTrattamenti" msprop:Generator_UserParentTable="AnagTrattamenti" />
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_ParentPropName="IstObjRow" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserParentTable="IstObj" />
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserChildTable="IstObj" msprop:Generator_ChildPropName="GetIstObjRows" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" />
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_ChildPropName="GetTraEv2StatiRows" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_ParentPropName="EventiRow" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserParentTable="Eventi" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+2 -2
View File
@@ -4,9 +4,9 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-14" ViewPortY="-38" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-14" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagClienti" ZOrder="9" X="83" Y="-28" Height="319" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:AnagClienti" ZOrder="9" X="83" Y="-28" Height="322" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:AnagTrattamenti" ZOrder="21" X="1006" Y="43" Height="135" Width="289" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:Tratt2Obj" ZOrder="20" X="813" Y="198" Height="158" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:v_commesse" ZOrder="1" X="18" Y="550" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />