completata maschera "INTERVENTI"
This commit is contained in:
Binary file not shown.
@@ -2,32 +2,58 @@
|
||||
|
||||
<div class="ui-grid-b ui-mini">
|
||||
<div class="ui-block-a">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
|
||||
<asp:DropDownList runat="server" ID="ddlStato">
|
||||
<asp:ListItem Text="PREVISTI" Value="PREVISTI"></asp:ListItem>
|
||||
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
|
||||
<asp:ListItem Text="CONCLUSI" Value="CONCLUSI"></asp:ListItem>
|
||||
<asp:ListItem Text="TUTTI" Value="TUTTI"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<div class="flLeft" style="font-size: 0.80em;">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
|
||||
<asp:DropDownList runat="server" ID="ddlStato" AutoPostBack="True">
|
||||
<asp:ListItem Text="PREVISTI" Value="PREVISTO"></asp:ListItem>
|
||||
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
|
||||
<asp:ListItem Text="CONCLUSI" Value="CONCLUSO"></asp:ListItem>
|
||||
<asp:ListItem Text="TUTTI" Value="*"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flLeft" style="font-size: 0.70em;">
|
||||
<asp:TextBox runat="server" ID="txtDataFrom" type="date" AutoPostBack="True" Width="10em" />
|
||||
</div>
|
||||
<div class="flLeft" style="font-size: 0.70em;">
|
||||
<div class="ui-grid-d" style="text-align: center; margin: auto;">
|
||||
<div class="ui-block-a">
|
||||
<asp:LinkButton runat="server" ID="lbMinus5" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="-5" CommandArgument="-5" />
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
<asp:LinkButton runat="server" ID="lbMinus" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="-1" CommandArgument="-1" />
|
||||
</div>
|
||||
<div class="ui-block-c">
|
||||
<asp:TextBox runat="server" ID="txtNumGG" Text="10" OnTextChanged="txtNumGG_TextChanged" Width="3em" />
|
||||
</div>
|
||||
<div class="ui-block-d">
|
||||
<asp:LinkButton runat="server" ID="lbPlus" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="+1" CommandArgument="1" />
|
||||
</div>
|
||||
<div class="ui-block-e">
|
||||
<asp:LinkButton runat="server" ID="lbPlus5" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="+5" CommandArgument="5" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-block-b text-center">
|
||||
<asp:TextBox runat="server" ID="txtCerca" placeholder="Ricerca per CLIENTE | DOCUMENTO" />
|
||||
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento (CLIENTE, DOCUMENTO)" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="ui-block-c">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="flRight">
|
||||
<asp:DropDownList runat="server" ID="ddlPeriodo">
|
||||
<asp:ListItem Text="OGGI" Value="OGGI"></asp:ListItem>
|
||||
<asp:ListItem Text="DOMANI" Value="DOMANI"></asp:ListItem>
|
||||
<asp:ListItem Text="SETTIMANA" Value="SETTIMANA"></asp:ListItem>
|
||||
<asp:ListItem Text="TUTTI" Value="TUTTI"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<div class="ui-block-c" style="text-align: right; margin: auto;">
|
||||
<div class="flLeft" style="font-size: 0.85em;">
|
||||
<asp:Button runat="server" ID="btnAllSquadre" Text="Squadre (tutte)" OnClick="btnAllSquadre_Click" />
|
||||
</div>
|
||||
<div class="flLeft" style="font-size: 0.85em;">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="ui-controlgroup ui-controlgroup-horizontal ui-corner-all">
|
||||
<asp:RadioButtonList ID="rblSquadre" runat="server" DataSourceID="odsSquadre" DataTextField="CodSquadra" DataValueField="CodSquadra" RepeatDirection="Horizontal" RepeatLayout="Flow" AppendDataBoundItems="false" AutoPostBack="True" OnSelectedIndexChanged="rblSquadre_SelectedIndexChanged">
|
||||
<asp:ListItem Selected="True" Text="Tutte" Value="*"></asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</div>
|
||||
<asp:ObjectDataSource ID="odsSquadre" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento" AutoPostBack="true" />
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowCommand="grView_RowCommand">
|
||||
<div class="ui-mini">
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle BackColor="#2461BF" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
@@ -43,42 +69,116 @@
|
||||
Nessun risultato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:BoundField DataField="IdxImpegno" HeaderText="IdxImpegno" ReadOnly="True" SortExpression="IdxImpegno" />
|
||||
<asp:BoundField DataField="DataOra" HeaderText="DataOra" SortExpression="DataOra" />
|
||||
<asp:BoundField DataField="TipoOrario" HeaderText="TipoOrario" SortExpression="TipoOrario" />
|
||||
<asp:BoundField DataField="CodCliente" HeaderText="CodCliente" SortExpression="CodCliente" />
|
||||
<asp:BoundField DataField="Cognome" HeaderText="Cognome" SortExpression="Cognome" />
|
||||
<asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
|
||||
<asp:BoundField DataField="CodFis" HeaderText="CodFis" SortExpression="CodFis" />
|
||||
<asp:BoundField DataField="CodSquadra" HeaderText="CodSquadra" SortExpression="CodSquadra" />
|
||||
<asp:BoundField DataField="DescrSquadra" HeaderText="DescrSquadra" SortExpression="DescrSquadra" />
|
||||
<asp:CheckBoxField DataField="Elettrod" HeaderText="Elettrod" SortExpression="Elettrod" />
|
||||
<asp:CheckBoxField DataField="Clima" HeaderText="Clima" SortExpression="Clima" />
|
||||
<asp:CheckBoxField DataField="Inform" HeaderText="Inform" SortExpression="Inform" />
|
||||
<asp:BoundField DataField="Indir" HeaderText="Indir" SortExpression="Indir" />
|
||||
<asp:BoundField DataField="Cap" HeaderText="Cap" SortExpression="Cap" />
|
||||
<asp:BoundField DataField="Localita" HeaderText="Localita" SortExpression="Localita" />
|
||||
<asp:BoundField DataField="Prov" HeaderText="Prov" SortExpression="Prov" />
|
||||
<asp:BoundField DataField="idxZona" HeaderText="idxZona" SortExpression="idxZona" />
|
||||
<asp:BoundField DataField="MinTotCons" HeaderText="MinTotCons" SortExpression="MinTotCons" />
|
||||
<asp:BoundField DataField="MinViaggio" HeaderText="MinViaggio" SortExpression="MinViaggio" />
|
||||
<asp:BoundField DataField="FinePrev" HeaderText="FinePrev" SortExpression="FinePrev" ReadOnly="True" />
|
||||
<asp:BoundField DataField="NoteGen" HeaderText="NoteGen" SortExpression="NoteGen" />
|
||||
<asp:BoundField DataField="RifOC" HeaderText="RifOC" SortExpression="RifOC" />
|
||||
<asp:BoundField DataField="UrlDoc" HeaderText="UrlDoc" SortExpression="UrlDoc" />
|
||||
<asp:BoundField DataField="NumOp" HeaderText="NumOp" SortExpression="NumOp" />
|
||||
<asp:CheckBoxField DataField="RitUsato" HeaderText="RitUsato" SortExpression="RitUsato" />
|
||||
<asp:CheckBoxField DataField="Ascensore" HeaderText="Ascensore" SortExpression="Ascensore" />
|
||||
<asp:BoundField DataField="PianoCons" HeaderText="PianoCons" SortExpression="PianoCons" />
|
||||
<asp:BoundField DataField="UserMod" HeaderText="UserMod" SortExpression="UserMod" />
|
||||
<asp:BoundField DataField="DataMod" HeaderText="DataMod" SortExpression="DataMod" />
|
||||
</Columns>
|
||||
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
|
||||
<ItemTemplate>
|
||||
<div style="clear: both; width: 240px;">
|
||||
<div class="flLeft">
|
||||
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' />
|
||||
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' />
|
||||
</div>
|
||||
<div class="flRight" style="color: #ACACAC;">
|
||||
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' />
|
||||
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' />
|
||||
</div>
|
||||
<div class="text-center" style="padding: 0px 2px;">
|
||||
<div style="font-size: 0.8em; color: #ACACAC; font-style: italic;">
|
||||
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario") %>' />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; width: 240px; font-size: 0.8em; color: #ACACAC;">
|
||||
<div>
|
||||
<div class="flRight">
|
||||
<i class="fa fa-truck"></i>
|
||||
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0} min") %>' />
|
||||
+
|
||||
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0} min") %>' />
|
||||
<i class="fa fa-wrench"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Squadra" SortExpression="DescrSquadra">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="lblDescrSquadra" runat="server" Text='<%# Bind("DescrSquadra") %>'></asp:Label>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="op" SortExpression="NumOp" ItemStyle-HorizontalAlign="Center">
|
||||
<HeaderTemplate>
|
||||
<i class="fa fa-users fa-2x"></i>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("NumOp") %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
|
||||
<ItemTemplate>
|
||||
<div class="flLeft" style="font-size: 0.8em;">
|
||||
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Localita">
|
||||
<ItemTemplate>
|
||||
<div class="flRight" style="font-size: 0.8em;">
|
||||
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
|
||||
<br />
|
||||
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="piano" SortExpression="PianoCons" ItemStyle-HorizontalAlign="Center">
|
||||
<HeaderTemplate>
|
||||
<i class="fa fa-building-o fa-2x"></i>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DOC / note" SortExpression="RifOC">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' />
|
||||
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
|
||||
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ascensore" SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore") %>' CssClass="ui-state-disabled" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra Intervento" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR Cognome LIKE '%{0}%' OR Nome LIKE '%{0}%' OR CodFis LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="original_{0}">
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearch" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR RagSoc LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="original_{0}">
|
||||
<FilterParameters>
|
||||
<asp:ControlParameter ControlID="txtSearch" DefaultValue="*" Type="string" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlStato" Name="Stato" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtDataFrom" Name="DataRif" PropertyName="Text" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtNumGg" Name="NumGg" PropertyName="Text" Type="String" />
|
||||
<asp:ControlParameter ControlID="rblSquadre" Name="CodSquadra" PropertyName="SelectedValue" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5,19 +5,98 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using WebSCR_data;
|
||||
|
||||
namespace WebSCR.WebUserControls
|
||||
{
|
||||
public partial class mod_Interventi : System.Web.UI.UserControl
|
||||
{
|
||||
public event EventHandler eh_selData;
|
||||
/// <summary>
|
||||
/// solleva evento selezione data
|
||||
/// </summary>
|
||||
protected void reportEvent()
|
||||
{
|
||||
// evento!
|
||||
if (eh_selData != null)
|
||||
{
|
||||
eh_selData(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// numero giorni selezionati
|
||||
/// </summary>
|
||||
public int numGG
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
answ = Convert.ToInt32(txtNumGG.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
int newVal = 0;
|
||||
if (value >= newVal) newVal = value;
|
||||
txtNumGG.Text = newVal.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// data riferimento
|
||||
/// </summary>
|
||||
public DateTime dataFrom
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now.Date;
|
||||
try
|
||||
{
|
||||
answ = Convert.ToDateTime(txtDataFrom.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
txtDataFrom.Text = value.ToString("yyyy-MM-dd");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// data selezionata (da query string o inizializzata...
|
||||
/// </summary>
|
||||
protected DateTime dataSel
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now;
|
||||
if (memLayer.ML.isInSessionObject("DataStart"))
|
||||
{
|
||||
try
|
||||
{
|
||||
answ = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataStart"));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("DataStart", value);
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
#if false
|
||||
memLayer.ML.emptySessionVal("Cliente");
|
||||
hlLocalUploader.NavigateUrl = memLayer.ML.confReadString("localUplURL");
|
||||
#endif
|
||||
dataFrom = dataSel;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -25,18 +104,70 @@ namespace WebSCR.WebUserControls
|
||||
/// </summary>
|
||||
public string lastCmd { get; set; }
|
||||
|
||||
#if false
|
||||
protected void btnAllSquadre_Click(object sender, EventArgs e)
|
||||
{
|
||||
// resetto sel rbl
|
||||
rblSquadre.SelectedIndex = -1;
|
||||
}
|
||||
/// <summary>
|
||||
/// gestione evento novo record
|
||||
/// aggiungo/tolgo all'intervallo selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
protected void lbNumGg_Click(object sender, EventArgs e)
|
||||
{
|
||||
// richiamo pagina di edit senza parametri x metodo NEW
|
||||
Response.Redirect("ClientiEdit");
|
||||
}
|
||||
#endif
|
||||
int diff = 0;
|
||||
try
|
||||
{
|
||||
LinkButton lb = (LinkButton)sender;
|
||||
diff = Convert.ToInt32(lb.CommandArgument);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
numGG = numGG + diff;
|
||||
reportEvent();
|
||||
}
|
||||
|
||||
protected void txtDataFrom_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
dataSel = Convert.ToDateTime(txtDataFrom.Text);
|
||||
reportEvent();
|
||||
}
|
||||
|
||||
protected void txtNumGG_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
reportEvent();
|
||||
}
|
||||
/// <summary>
|
||||
/// selezione nuova squadra...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void rblSquadre_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// aggiorno controllo...
|
||||
}
|
||||
protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
|
||||
{
|
||||
// salvo il command argument...
|
||||
lastCmd = e.CommandArgument.ToString();
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se valore passato è NON NULLO
|
||||
/// </summary>
|
||||
/// <param name="dataInizio"></param>
|
||||
/// <returns></returns>
|
||||
public bool notNull(object dataInizio)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
answ = dataInizio.ToString() != "";
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// evento selezione paziente...
|
||||
/// </summary>
|
||||
@@ -44,51 +175,29 @@ namespace WebSCR.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
// recupero dati paziente...
|
||||
string CodCliente = "";
|
||||
// recupero dati paziente...
|
||||
int IdxImpegno = 0;
|
||||
DS_Applicazione.ImpegniRow riga;// = DtProxy.man.taImp.GetData()[0];
|
||||
try
|
||||
{
|
||||
CodCliente = grView.SelectedDataKey["CodCliente"].ToString();
|
||||
memLayer.ML.setSessionVal("CodCliente", CodCliente);
|
||||
DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0];
|
||||
memLayer.ML.setSessionVal("Cliente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.CodFis));
|
||||
// mando a dettaglio con filtro x cliente!
|
||||
Response.Redirect(string.Format("Interventi?FiltroCliente=1&ShowState=0&CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
|
||||
|
||||
IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]);
|
||||
memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno);
|
||||
riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
|
||||
memLayer.ML.setSessionVal("Cliente", string.Format("{0} ({1:dd/MM/yyyy})", riga.RagSoc, DateTime.Now));
|
||||
memLayer.ML.setSessionVal("CodCliente", riga.CodCliente);
|
||||
}
|
||||
catch(Exception exc)
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
|
||||
}
|
||||
#endif
|
||||
riga = DtProxy.man.taImp.GetData()[0];
|
||||
}
|
||||
|
||||
//if (lastCmd == "select")
|
||||
//{
|
||||
// mando su PIANIFICAZIONE intervento cliente!
|
||||
Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno));
|
||||
//}
|
||||
}
|
||||
|
||||
protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
|
||||
{
|
||||
// salvo il command argument...
|
||||
lastCmd = e.CommandArgument.ToString();
|
||||
}
|
||||
/// <summary>
|
||||
/// trimma una stringa alla lunghezza richiesta...
|
||||
/// </summary>
|
||||
/// <param name="stringa"></param>
|
||||
/// <param name="maxChar"></param>
|
||||
/// <returns></returns>
|
||||
public string stringTrim(object _stringa, object _maxChar)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = _stringa.ToString();
|
||||
if (answ.Length > Convert.ToInt32(_maxChar))
|
||||
{
|
||||
answ = answ.Substring(0, Convert.ToInt32(_maxChar)) + "[...]";
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
+67
-4
@@ -22,22 +22,58 @@ namespace WebSCR.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlStato;
|
||||
|
||||
/// <summary>
|
||||
/// txtCerca control.
|
||||
/// txtDataFrom 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 txtCerca;
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPeriodo control.
|
||||
/// lbMinus5 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.DropDownList ddlPeriodo;
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbMinus5;
|
||||
|
||||
/// <summary>
|
||||
/// lbMinus 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.LinkButton lbMinus;
|
||||
|
||||
/// <summary>
|
||||
/// txtNumGG 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 txtNumGG;
|
||||
|
||||
/// <summary>
|
||||
/// lbPlus 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.LinkButton lbPlus;
|
||||
|
||||
/// <summary>
|
||||
/// lbPlus5 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.LinkButton lbPlus5;
|
||||
|
||||
/// <summary>
|
||||
/// txtSearch control.
|
||||
@@ -48,6 +84,33 @@ namespace WebSCR.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtSearch;
|
||||
|
||||
/// <summary>
|
||||
/// btnAllSquadre 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.Button btnAllSquadre;
|
||||
|
||||
/// <summary>
|
||||
/// rblSquadre 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.RadioButtonList rblSquadre;
|
||||
|
||||
/// <summary>
|
||||
/// odsSquadre 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 odsSquadre;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Generated
+277
-80
@@ -2060,9 +2060,7 @@ namespace WebSCR_data {
|
||||
|
||||
private global::System.Data.DataColumn columnCodCliente;
|
||||
|
||||
private global::System.Data.DataColumn columnCognome;
|
||||
|
||||
private global::System.Data.DataColumn columnNome;
|
||||
private global::System.Data.DataColumn columnRagSoc;
|
||||
|
||||
private global::System.Data.DataColumn columnCodFis;
|
||||
|
||||
@@ -2110,6 +2108,14 @@ namespace WebSCR_data {
|
||||
|
||||
private global::System.Data.DataColumn columnDataMod;
|
||||
|
||||
private global::System.Data.DataColumn columnSTATO;
|
||||
|
||||
private global::System.Data.DataColumn columnInizioInt;
|
||||
|
||||
private global::System.Data.DataColumn columnFineInt;
|
||||
|
||||
private global::System.Data.DataColumn columnNoteInt;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public ImpegniDataTable() {
|
||||
@@ -2177,17 +2183,9 @@ namespace WebSCR_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn CognomeColumn {
|
||||
public global::System.Data.DataColumn RagSocColumn {
|
||||
get {
|
||||
return this.columnCognome;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NomeColumn {
|
||||
get {
|
||||
return this.columnNome;
|
||||
return this.columnRagSoc;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2375,6 +2373,38 @@ namespace WebSCR_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn STATOColumn {
|
||||
get {
|
||||
return this.columnSTATO;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn InizioIntColumn {
|
||||
get {
|
||||
return this.columnInizioInt;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn FineIntColumn {
|
||||
get {
|
||||
return this.columnFineInt;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NoteIntColumn {
|
||||
get {
|
||||
return this.columnNoteInt;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -2417,8 +2447,7 @@ namespace WebSCR_data {
|
||||
System.DateTime DataOra,
|
||||
string TipoOrario,
|
||||
string CodCliente,
|
||||
string Cognome,
|
||||
string Nome,
|
||||
string RagSoc,
|
||||
string CodFis,
|
||||
string CodSquadra,
|
||||
string DescrSquadra,
|
||||
@@ -2441,15 +2470,18 @@ namespace WebSCR_data {
|
||||
bool Ascensore,
|
||||
int PianoCons,
|
||||
string UserMod,
|
||||
System.DateTime DataMod) {
|
||||
System.DateTime DataMod,
|
||||
string STATO,
|
||||
System.DateTime InizioInt,
|
||||
System.DateTime FineInt,
|
||||
string NoteInt) {
|
||||
ImpegniRow rowImpegniRow = ((ImpegniRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
IdxImpegno,
|
||||
DataOra,
|
||||
TipoOrario,
|
||||
CodCliente,
|
||||
Cognome,
|
||||
Nome,
|
||||
RagSoc,
|
||||
CodFis,
|
||||
CodSquadra,
|
||||
DescrSquadra,
|
||||
@@ -2472,7 +2504,11 @@ namespace WebSCR_data {
|
||||
Ascensore,
|
||||
PianoCons,
|
||||
UserMod,
|
||||
DataMod};
|
||||
DataMod,
|
||||
STATO,
|
||||
InizioInt,
|
||||
FineInt,
|
||||
NoteInt};
|
||||
rowImpegniRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowImpegniRow);
|
||||
return rowImpegniRow;
|
||||
@@ -2506,8 +2542,7 @@ namespace WebSCR_data {
|
||||
this.columnDataOra = base.Columns["DataOra"];
|
||||
this.columnTipoOrario = base.Columns["TipoOrario"];
|
||||
this.columnCodCliente = base.Columns["CodCliente"];
|
||||
this.columnCognome = base.Columns["Cognome"];
|
||||
this.columnNome = base.Columns["Nome"];
|
||||
this.columnRagSoc = base.Columns["RagSoc"];
|
||||
this.columnCodFis = base.Columns["CodFis"];
|
||||
this.columnCodSquadra = base.Columns["CodSquadra"];
|
||||
this.columnDescrSquadra = base.Columns["DescrSquadra"];
|
||||
@@ -2531,6 +2566,10 @@ namespace WebSCR_data {
|
||||
this.columnPianoCons = base.Columns["PianoCons"];
|
||||
this.columnUserMod = base.Columns["UserMod"];
|
||||
this.columnDataMod = base.Columns["DataMod"];
|
||||
this.columnSTATO = base.Columns["STATO"];
|
||||
this.columnInizioInt = base.Columns["InizioInt"];
|
||||
this.columnFineInt = base.Columns["FineInt"];
|
||||
this.columnNoteInt = base.Columns["NoteInt"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -2544,10 +2583,8 @@ namespace WebSCR_data {
|
||||
base.Columns.Add(this.columnTipoOrario);
|
||||
this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodCliente);
|
||||
this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCognome);
|
||||
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNome);
|
||||
this.columnRagSoc = new global::System.Data.DataColumn("RagSoc", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRagSoc);
|
||||
this.columnCodFis = new global::System.Data.DataColumn("CodFis", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodFis);
|
||||
this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
@@ -2594,6 +2631,14 @@ namespace WebSCR_data {
|
||||
base.Columns.Add(this.columnUserMod);
|
||||
this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDataMod);
|
||||
this.columnSTATO = new global::System.Data.DataColumn("STATO", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnSTATO);
|
||||
this.columnInizioInt = new global::System.Data.DataColumn("InizioInt", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnInizioInt);
|
||||
this.columnFineInt = new global::System.Data.DataColumn("FineInt", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnFineInt);
|
||||
this.columnNoteInt = new global::System.Data.DataColumn("NoteInt", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNoteInt);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnIdxImpegno}, true));
|
||||
this.columnIdxImpegno.AllowDBNull = false;
|
||||
@@ -2601,10 +2646,11 @@ namespace WebSCR_data {
|
||||
this.columnDataOra.AllowDBNull = false;
|
||||
this.columnTipoOrario.AllowDBNull = false;
|
||||
this.columnTipoOrario.MaxLength = 10;
|
||||
this.columnCodCliente.AllowDBNull = false;
|
||||
this.columnCodCliente.ReadOnly = true;
|
||||
this.columnCodCliente.MaxLength = 50;
|
||||
this.columnCognome.MaxLength = 50;
|
||||
this.columnNome.MaxLength = 50;
|
||||
this.columnRagSoc.ReadOnly = true;
|
||||
this.columnRagSoc.MaxLength = 100;
|
||||
this.columnCodFis.ReadOnly = true;
|
||||
this.columnCodFis.MaxLength = 50;
|
||||
this.columnCodSquadra.AllowDBNull = false;
|
||||
this.columnCodSquadra.MaxLength = 50;
|
||||
@@ -2638,6 +2684,9 @@ namespace WebSCR_data {
|
||||
this.columnUserMod.AllowDBNull = false;
|
||||
this.columnUserMod.MaxLength = 50;
|
||||
this.columnDataMod.AllowDBNull = false;
|
||||
this.columnSTATO.ReadOnly = true;
|
||||
this.columnSTATO.MaxLength = 8;
|
||||
this.columnNoteInt.MaxLength = 2147483647;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5051,7 +5100,12 @@ namespace WebSCR_data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodCliente {
|
||||
get {
|
||||
return ((string)(this[this.tableImpegni.CodClienteColumn]));
|
||||
try {
|
||||
return ((string)(this[this.tableImpegni.CodClienteColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.CodClienteColumn] = value;
|
||||
@@ -5060,33 +5114,17 @@ namespace WebSCR_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Cognome {
|
||||
public string RagSoc {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableImpegni.CognomeColumn]));
|
||||
return ((string)(this[this.tableImpegni.RagSocColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Cognome\' in table \'Impegni\' is DBNull.", e);
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'RagSoc\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.CognomeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string Nome {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableImpegni.NomeColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.NomeColumn] = value;
|
||||
this[this.tableImpegni.RagSocColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5355,26 +5393,90 @@ namespace WebSCR_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCognomeNull() {
|
||||
return this.IsNull(this.tableImpegni.CognomeColumn);
|
||||
public string STATO {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableImpegni.STATOColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'STATO\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.STATOColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCognomeNull() {
|
||||
this[this.tableImpegni.CognomeColumn] = global::System.Convert.DBNull;
|
||||
public System.DateTime InizioInt {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tableImpegni.InizioIntColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'InizioInt\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.InizioIntColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNomeNull() {
|
||||
return this.IsNull(this.tableImpegni.NomeColumn);
|
||||
public System.DateTime FineInt {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tableImpegni.FineIntColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'FineInt\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.FineIntColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNomeNull() {
|
||||
this[this.tableImpegni.NomeColumn] = global::System.Convert.DBNull;
|
||||
public string NoteInt {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableImpegni.NoteIntColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NoteInt\' in table \'Impegni\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableImpegni.NoteIntColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCodClienteNull() {
|
||||
return this.IsNull(this.tableImpegni.CodClienteColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCodClienteNull() {
|
||||
this[this.tableImpegni.CodClienteColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsRagSocNull() {
|
||||
return this.IsNull(this.tableImpegni.RagSocColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetRagSocNull() {
|
||||
this[this.tableImpegni.RagSocColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5400,6 +5502,54 @@ namespace WebSCR_data {
|
||||
public void SetFinePrevNull() {
|
||||
this[this.tableImpegni.FinePrevColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsSTATONull() {
|
||||
return this.IsNull(this.tableImpegni.STATOColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetSTATONull() {
|
||||
this[this.tableImpegni.STATOColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsInizioIntNull() {
|
||||
return this.IsNull(this.tableImpegni.InizioIntColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetInizioIntNull() {
|
||||
this[this.tableImpegni.InizioIntColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsFineIntNull() {
|
||||
return this.IsNull(this.tableImpegni.FineIntColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetFineIntNull() {
|
||||
this[this.tableImpegni.FineIntColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNoteIntNull() {
|
||||
return this.IsNull(this.tableImpegni.NoteIntColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNoteIntNull() {
|
||||
this[this.tableImpegni.NoteIntColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -8875,8 +9025,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
tableMapping.ColumnMappings.Add("DataOra", "DataOra");
|
||||
tableMapping.ColumnMappings.Add("TipoOrario", "TipoOrario");
|
||||
tableMapping.ColumnMappings.Add("CodCliente", "CodCliente");
|
||||
tableMapping.ColumnMappings.Add("Cognome", "Cognome");
|
||||
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
||||
tableMapping.ColumnMappings.Add("RagSoc", "RagSoc");
|
||||
tableMapping.ColumnMappings.Add("CodFis", "CodFis");
|
||||
tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
|
||||
tableMapping.ColumnMappings.Add("DescrSquadra", "DescrSquadra");
|
||||
@@ -8900,6 +9049,10 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
tableMapping.ColumnMappings.Add("PianoCons", "PianoCons");
|
||||
tableMapping.ColumnMappings.Add("UserMod", "UserMod");
|
||||
tableMapping.ColumnMappings.Add("DataMod", "DataMod");
|
||||
tableMapping.ColumnMappings.Add("STATO", "STATO");
|
||||
tableMapping.ColumnMappings.Add("InizioInt", "InizioInt");
|
||||
tableMapping.ColumnMappings.Add("FineInt", "FineInt");
|
||||
tableMapping.ColumnMappings.Add("NoteInt", "NoteInt");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
@@ -8913,10 +9066,10 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[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[6];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM v_elencoImpegni";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -8932,36 +9085,45 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_Imp_insertQuery";
|
||||
this._commandCollection[3].CommandText = "dbo.stp_Imp_getBySearch";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGg", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_Imp_updateQuery";
|
||||
this._commandCollection[4].CommandText = "dbo.stp_Imp_insertQuery";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_Imp_updStart";
|
||||
this._commandCollection[5].CommandText = "dbo.stp_Imp_updateQuery";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = "dbo.stp_Imp_updStart";
|
||||
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -9022,11 +9184,46 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Applicazione.ImpegniDataTable getBySearch(string Stato, global::System.Nullable<global::System.DateTime> DataRif, global::System.Nullable<int> NumGg, string CodSquadra) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((Stato == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Stato));
|
||||
}
|
||||
if ((DataRif.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataRif.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((NumGg.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(NumGg.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodSquadra == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodSquadra));
|
||||
}
|
||||
DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int insertQuery(global::System.Nullable<global::System.DateTime> DataOra, string TipoOrario, string CodSquadra, string RifOC) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((DataOra.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((System.DateTime)(DataOra.Value));
|
||||
}
|
||||
@@ -9072,7 +9269,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updateQuery(global::System.Nullable<int> Original_IdxImpegno, string TipoOrario, string CodSquadra, string RifOC, string NoteGen, string UrlDoc, global::System.Nullable<int> NumOp, global::System.Nullable<int> RitUsato, global::System.Nullable<int> Ascensore, global::System.Nullable<int> PianoCons, string UserMod) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((Original_IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value));
|
||||
}
|
||||
@@ -9160,7 +9357,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updStart(global::System.Nullable<int> IdxImpegno, global::System.Nullable<global::System.DateTime> DataOraNew) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
||||
if ((IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxImpegno.Value));
|
||||
}
|
||||
|
||||
@@ -483,7 +483,8 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_elencoImpegni" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT * FROM v_elencoImpegni</CommandText>
|
||||
<CommandText>SELECT *
|
||||
FROM v_elencoImpegni</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -494,8 +495,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
<Mapping SourceColumn="DataOra" DataSetColumn="DataOra" />
|
||||
<Mapping SourceColumn="TipoOrario" DataSetColumn="TipoOrario" />
|
||||
<Mapping SourceColumn="CodCliente" DataSetColumn="CodCliente" />
|
||||
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
|
||||
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
|
||||
<Mapping SourceColumn="RagSoc" DataSetColumn="RagSoc" />
|
||||
<Mapping SourceColumn="CodFis" DataSetColumn="CodFis" />
|
||||
<Mapping SourceColumn="CodSquadra" DataSetColumn="CodSquadra" />
|
||||
<Mapping SourceColumn="DescrSquadra" DataSetColumn="DescrSquadra" />
|
||||
@@ -519,6 +519,10 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
<Mapping SourceColumn="PianoCons" DataSetColumn="PianoCons" />
|
||||
<Mapping SourceColumn="UserMod" DataSetColumn="UserMod" />
|
||||
<Mapping SourceColumn="DataMod" DataSetColumn="DataMod" />
|
||||
<Mapping SourceColumn="STATO" DataSetColumn="STATO" />
|
||||
<Mapping SourceColumn="InizioInt" DataSetColumn="InizioInt" />
|
||||
<Mapping SourceColumn="FineInt" DataSetColumn="FineInt" />
|
||||
<Mapping SourceColumn="NoteInt" DataSetColumn="NoteInt" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_getByCodCli" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCli" GetMethodModifier="Public" GetMethodName="getByCli" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCli" UserSourceName="getByCli">
|
||||
@@ -543,6 +547,20 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_getBySearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearch" GetMethodModifier="Public" GetMethodName="getBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearch" UserSourceName="getBySearch">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_Imp_getBySearch</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="@Stato" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataRif" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumGg" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -849,7 +867,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_RowClassName="AnagSquadreRow" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent">
|
||||
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent" msprop:Generator_RowClassName="AnagSquadreRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
|
||||
@@ -873,7 +891,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_RowClassName="AnagZoneRow" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent">
|
||||
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent" msprop:Generator_RowClassName="AnagZoneRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxZona" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxZona" msprop:Generator_ColumnPropNameInRow="idxZona" msprop:Generator_ColumnPropNameInTable="idxZonaColumn" msprop:Generator_UserColumnName="idxZona" type="xs:int" />
|
||||
@@ -909,7 +927,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_RowClassName="AnagTipoConsegneRow" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent">
|
||||
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent" msprop:Generator_RowClassName="AnagTipoConsegneRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
|
||||
@@ -934,7 +952,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
|
||||
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
|
||||
@@ -1018,7 +1036,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent" msprop:Generator_RowClassName="ImpegniRow">
|
||||
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_RowClassName="ImpegniRow" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
|
||||
@@ -1030,28 +1048,21 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
|
||||
<xs:element name="CodCliente" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome" minOccurs="0">
|
||||
<xs:element name="RagSoc" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRagSoc" msprop:Generator_ColumnPropNameInRow="RagSoc" msprop:Generator_ColumnPropNameInTable="RagSocColumn" msprop:Generator_UserColumnName="RagSoc" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodFis" msprop:Generator_ColumnVarNameInTable="columnCodFis" msprop:Generator_ColumnPropNameInRow="CodFis" msprop:Generator_ColumnPropNameInTable="CodFisColumn" msprop:Generator_UserColumnName="CodFis" minOccurs="0">
|
||||
<xs:element name="CodFis" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodFis" msprop:Generator_ColumnPropNameInRow="CodFis" msprop:Generator_ColumnPropNameInTable="CodFisColumn" msprop:Generator_UserColumnName="CodFis" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -1140,10 +1151,26 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DataMod" msprop:Generator_ColumnVarNameInTable="columnDataMod" msprop:Generator_ColumnPropNameInRow="DataMod" msprop:Generator_ColumnPropNameInTable="DataModColumn" msprop:Generator_UserColumnName="DataMod" type="xs:dateTime" />
|
||||
<xs:element name="STATO" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSTATO" msprop:Generator_ColumnPropNameInRow="STATO" msprop:Generator_ColumnPropNameInTable="STATOColumn" msprop:Generator_UserColumnName="STATO" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="InizioInt" msprop:Generator_ColumnVarNameInTable="columnInizioInt" msprop:Generator_ColumnPropNameInRow="InizioInt" msprop:Generator_ColumnPropNameInTable="InizioIntColumn" msprop:Generator_UserColumnName="InizioInt" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="FineInt" msprop:Generator_ColumnVarNameInTable="columnFineInt" msprop:Generator_ColumnPropNameInRow="FineInt" msprop:Generator_ColumnPropNameInTable="FineIntColumn" msprop:Generator_UserColumnName="FineInt" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="NoteInt" msprop:Generator_ColumnVarNameInTable="columnNoteInt" msprop:Generator_ColumnPropNameInRow="NoteInt" msprop:Generator_ColumnPropNameInTable="NoteIntColumn" msprop:Generator_UserColumnName="NoteInt" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_RowClassName="DispImpTotRow" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent">
|
||||
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent" msprop:Generator_RowClassName="DispImpTotRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -1153,7 +1180,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_RowClassName="DispImpSquadreRow" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent">
|
||||
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent" msprop:Generator_RowClassName="DispImpSquadreRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -1169,7 +1196,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent" msprop:Generator_RowClassName="v_ImpegniCalRow">
|
||||
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_RowClassName="v_ImpegniCalRow" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxImpegno" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
|
||||
@@ -1199,7 +1226,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent" msprop:Generator_RowClassName="DisponibilitaRow">
|
||||
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_RowClassName="DisponibilitaRow" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -1216,7 +1243,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_RowClassName="DettImpegnoRow" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent">
|
||||
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent" msprop:Generator_RowClassName="DettImpegnoRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
|
||||
@@ -1295,7 +1322,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" />
|
||||
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -6,16 +6,16 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="94" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagSquadre" ZOrder="2" X="604" Y="422" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:AnagSquadre" ZOrder="3" X="604" Y="422" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:AnagZone" ZOrder="11" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="10" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="1" X="340" Y="192" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Impegni" ZOrder="4" X="16" Y="190" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="2" X="340" Y="192" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Impegni" ZOrder="1" X="15" Y="190" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:DispImpTot" ZOrder="8" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:DispImpSquadre" ZOrder="9" X="1026" Y="671" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="5" X="450" Y="797" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Disponibilita" ZOrder="7" X="784" Y="708" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:DettImpegno" ZOrder="3" X="44" Y="721" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:DettImpegno" ZOrder="4" X="44" Y="721" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="6" LineWidth="11">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user