iniziato edit dett interventi (add)

This commit is contained in:
Samuele E. Locatelli
2015-05-07 18:00:07 +02:00
parent 9c6179c1be
commit 0adfea2377
15 changed files with 1373 additions and 237 deletions
BIN
View File
Binary file not shown.
+258 -216
View File
@@ -1,234 +1,276 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettImpegno.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dettImpegno" %>
<div class="ui-mini ui-field-contain">
<asp:FormView ID="frmView" runat="server" DataKeyNames="IdxImpegno" DataSourceID="odsImpegni">
<EditItemTemplate>
<div>
<div class="ui-grid-b">
<div class="ui-block-a">
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Bind("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="lblDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' Enabled="false" />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>' Enabled="false"></asp:DropDownList>
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-mini" style="margin: -10px 0px;">
<ul data-role="listview" data-inset="true">
<li class="ui-field-contain">
<asp:FormView ID="frmView" runat="server" DataKeyNames="IdxImpegno" DataSourceID="odsImpegni">
<EditItemTemplate>
<div>
<div class="ui-grid-b">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Bind("NumOp") %>' />
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Bind("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Bind("RitUsato") %>' />
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="lblDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' Enabled="false" />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>' Enabled="false"></asp:DropDownList>
</div>
</div>
</div>
<div class="ui-block-b">
<div class="ui-grid-a">
<div class="ui-grid-b">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Bind("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Bind("Ascensore") %>' />
</div>
</div>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("TipoOrario") %>'></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Cliente</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">documento</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="RifOC" Text='<%# Bind("RifOC") %>' />
<%--<asp:Label CssClass="tStrong flRight" ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />--%>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Eval("CodCliente") %>' /></label>
<div class="flRight" style="min-height: 58px;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
<br />
<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 class="ui-grid-a">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Bind("NumOp") %>' />
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Bind("RitUsato") %>' />
</div>
</div>
</li>
</ul>
</div>
<div class="ui-block-b">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Intervento</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Intervento (min)</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="MinTotConsLabel" Text='<%# Eval("MinTotCons") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Viaggio (min)</label>
<asp:Label CssClass="tStrong flRight" ID="MinViaggioLabel" runat="server" Text='<%# Eval("MinViaggio") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Fine intervento (prev)</label>
<asp:Label CssClass="tStrong flRight" ID="FinePrevLabel" runat="server" Text='<%# Eval("FinePrev","{0:HH:mm}") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo" style="margin-top: -20px;">
<ul data-role="listview" data-inset="true">
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Note</label>
<asp:TextBox CssClass="flRight" ID="NoteGen" runat="server" Text='<%# Bind("NoteGen") %>' />
</li>
</ul>
</div>
</div>
<asp:LinkButton ID="lbUpdate" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="update" CommandName="Update" Text="Update"></asp:LinkButton>
&nbsp;
<asp:LinkButton ID="lbCancel" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-refresh ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="cancel" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
</EditItemTemplate>
<ItemTemplate>
<div class="ui-state-disabled">
<div class="ui-grid-b">
<div class="ui-block-a">
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Eval("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>'></asp:DropDownList>
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Eval("NumOp") %>' />
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Eval("RitUsato") %>' />
</div>
</div>
</div>
<div class="ui-block-b">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Eval("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />
</div>
</div>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Cliente</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">documento</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="RifOCLabel" Text='<%# Eval("RifOC") %>' />
<%--<asp:Label CssClass="tStrong flRight" ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />--%>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Bind("CodCliente") %>' /></label>
<div class="flRight" style="min-height: 58px;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Bind("RagSoc") %>' />
<br />
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Bind("Indir") %>' />
<br />
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Bind("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Bind("Ascensore") %>' />
</div>
</div>
</li>
</ul>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("TipoOrario") %>'></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Cliente</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">documento</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="RifOC" Text='<%# Bind("RifOC") %>' />
<%--<asp:Label CssClass="tStrong flRight" ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />--%>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Eval("CodCliente") %>' /></label>
<div class="flRight" style="min-height: 58px;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
<br />
<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>
</li>
</ul>
</div>
<div class="ui-block-b">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Intervento</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Intervento (min)</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="MinTotConsLabel" Text='<%# Eval("MinTotCons") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Viaggio (min)</label>
<asp:Label CssClass="tStrong flRight" ID="MinViaggioLabel" runat="server" Text='<%# Eval("MinViaggio") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Fine intervento (prev)</label>
<asp:Label CssClass="tStrong flRight" ID="FinePrevLabel" runat="server" Text='<%# Eval("FinePrev","{0:HH:mm}") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo" style="margin-top: -20px;">
<ul data-role="listview" data-inset="true">
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Note</label>
<asp:TextBox CssClass="flRight" ID="NoteGen" runat="server" Text='<%# Bind("NoteGen") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-block-b">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Intervento</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Intervento (min)</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="MinTotConsLabel" Text='<%# Eval("MinTotCons") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Viaggio (min)</label>
<asp:Label CssClass="tStrong flRight" ID="MinViaggioLabel" runat="server" Text='<%# Bind("MinViaggio") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Fine intervento (prev)</label>
<asp:Label CssClass="tStrong flRight" ID="FinePrevLabel" runat="server" Text='<%# Bind("FinePrev","{0:HH:mm}") %>' />
</li>
</ul>
<div style="text-align: center; margin: auto;">
<asp:LinkButton ID="lbUpdate" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="update" CommandName="Update" Text="Update" Width="15em"></asp:LinkButton>
&nbsp;
<asp:LinkButton ID="lbCancel" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-refresh ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="cancel" CommandName="Cancel" Text="Cancel" Width="15em"></asp:LinkButton>
</div>
</div>
<div class="ui-grid-solo" style="margin-top: -20px;">
<ul data-role="listview" data-inset="true">
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Note</label>
<asp:Label CssClass="flRight" ID="NoteGenLabel" runat="server" Text='<%# Bind("NoteGen") %>' />
</li>
</ul>
</div>
</EditItemTemplate>
<ItemTemplate>
<div class="ui-state-disabled">
<div class="ui-grid-b">
<div class="ui-block-a">
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Eval("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>'></asp:DropDownList>
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Eval("NumOp") %>' />
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Eval("RitUsato") %>' />
</div>
</div>
</div>
<div class="ui-block-b">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Eval("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />
</div>
</div>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Cliente</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">documento</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="RifOCLabel" Text='<%# Eval("RifOC") %>' />
<%--<asp:Label CssClass="tStrong flRight" ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />--%>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Bind("CodCliente") %>' /></label>
<div class="flRight" style="min-height: 58px;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Bind("RagSoc") %>' />
<br />
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Bind("Indir") %>' />
<br />
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
</div>
</li>
</ul>
</div>
<div class="ui-block-b">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Intervento</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Intervento (min)</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="MinTotConsLabel" Text='<%# Eval("MinTotCons") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Viaggio (min)</label>
<asp:Label CssClass="tStrong flRight" ID="MinViaggioLabel" runat="server" Text='<%# Bind("MinViaggio") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Fine intervento (prev)</label>
<asp:Label CssClass="tStrong flRight" ID="FinePrevLabel" runat="server" Text='<%# Bind("FinePrev","{0:HH:mm}") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo" style="margin-top: -20px;">
<ul data-role="listview" data-inset="true">
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Note</label>
<asp:Label CssClass="flRight" ID="NoteGenLabel" runat="server" Text='<%# Bind("NoteGen") %>' />
</li>
</ul>
</div>
</div>
<div style="text-align: center; margin: auto;">
<asp:LinkButton ID="lbEdit" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="edit" CommandName="Edit" Text="Modifica" Width="30em"></asp:LinkButton>
</div>
</ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="odsImpegni" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" UpdateMethod="updateQuery" OnUpdating="odsImpegni_Updating">
<SelectParameters>
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="Original_IdxImpegno" Type="Int32" />
<asp:Parameter Name="TipoOrario" Type="String" />
<asp:Parameter Name="CodSquadra" Type="String" />
<asp:Parameter Name="RifOC" Type="String" />
<asp:Parameter Name="NoteGen" Type="String" />
<asp:Parameter Name="UrlDoc" Type="String" />
<asp:Parameter Name="NumOp" Type="Int32" />
<asp:Parameter Name="RitUsato" Type="Int32" />
<asp:Parameter Name="Ascensore" Type="Int32" />
<asp:Parameter Name="PianoCons" Type="Int32" />
<asp:Parameter Name="UserMod" Type="String" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSquadre" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter"></asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_UtilityTableAdapters.GiornoTipoTableAdapter"></asp:ObjectDataSource>
</li>
<li class="ui-body">
<%--<asp:TextBox runat="server" ID="txtNewTask" placeholder="Nuovo Intervento" />--%>
<div class="ui-field-contain">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" style="font-size:0.9em; width:90%;">
<asp:LinkButton ID="lbAdd" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" Text="Task" OnClick="lbAdd_Click"></asp:LinkButton>
<asp:DropDownList runat="server" ID="ddlTipoCons" DataSourceID="odsTipoCons" DataTextField="DescrConsegna" DataValueField="CodConsegna"></asp:DropDownList>
</fieldset>
</div>
<asp:LinkButton ID="lbEdit" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="edit" CommandName="Edit" Text="Edit"></asp:LinkButton>
</ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="odsImpegni" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" UpdateMethod="updateQuery" OnUpdating="odsImpegni_Updating">
<SelectParameters>
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="Original_IdxImpegno" Type="Int32" />
<asp:Parameter Name="TipoOrario" Type="String" />
<asp:Parameter Name="CodSquadra" Type="String" />
<asp:Parameter Name="RifOC" Type="String" />
<asp:Parameter Name="NoteGen" Type="String" />
<asp:Parameter Name="UrlDoc" Type="String" />
<asp:Parameter Name="NumOp" Type="Int32" />
<asp:Parameter Name="RitUsato" Type="Int32" />
<asp:Parameter Name="Ascensore" Type="Int32" />
<asp:Parameter Name="PianoCons" Type="Int32" />
<asp:Parameter Name="UserMod" Type="String" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSquadre" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter"></asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_UtilityTableAdapters.GiornoTipoTableAdapter"></asp:ObjectDataSource>
<asp:ObjectDataSource runat="server" ID="odsTipoCons" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagTipoConsegneTableAdapter" />
<asp:GridView ID="grViewDettInt" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxImpegno,NumCons" DataSourceID="odsDettInt">
<EmptyDataTemplate>
Nessun Task
</EmptyDataTemplate>
<Columns>
<%--<asp:BoundField DataField="IdxImpegno" HeaderText="IdxImpegno" ReadOnly="True" SortExpression="IdxImpegno" />
<asp:BoundField DataField="NumCons" HeaderText="NumCons" ReadOnly="True" SortExpression="NumCons" />
<asp:BoundField DataField="CodConsegna" HeaderText="CodConsegna" SortExpression="CodConsegna" />--%>
<asp:BoundField DataField="DescrConsegna" HeaderText="Attività" SortExpression="DescrConsegna" />
<%--<asp:BoundField DataField="MinutiStd" HeaderText="MinutiStd" SortExpression="MinutiStd" />--%>
<asp:BoundField DataField="NumOp" HeaderText="Op" SortExpression="NumOp" />
<%-- <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="Minuti" HeaderText="Minuti" SortExpression="Minuti" />
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="odsDettInt" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByImpegno" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter">
<SelectParameters>
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</li>
</ul>
<br />
<br />
<br />
<div class="ui-grid-solo">
+29 -7
View File
@@ -14,17 +14,28 @@ namespace WebSCR.WebUserControls
{
doUpdate();
}
/// <summary>
/// impegno corrente
/// </summary>
public int idxImpegno
{
get
{
int answ = 0;
try
{
answ = Convert.ToInt32(qsVal("IdxImpegno"));
}
catch
{ }
return answ;
}
}
private void doUpdate()
{
// imposto data ed ora da valori in querystring...
int idxImpegno = 0;
try
{
idxImpegno = Convert.ToInt32(qsVal("IdxImpegno"));
}
catch
{ }
//if (idxImpegno > 0)
//{
@@ -65,5 +76,16 @@ namespace WebSCR.WebUserControls
e.InputParameters["UserMod"] = SteamWare.user_std.UtSn.userNameAD;
}
}
/// <summary>
/// aggiunge il task corrente all'elenco dei task...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbAdd_Click(object sender, EventArgs e)
{
DtProxy.man.taDetImp.insertQuery(idxImpegno, ddlTipoCons.SelectedValue);
grViewDettInt.DataBind();
frmView.DataBind();
}
}
}
+45
View File
@@ -47,5 +47,50 @@ namespace WebSCR.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsOrario;
/// <summary>
/// lbAdd 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 lbAdd;
/// <summary>
/// ddlTipoCons 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 ddlTipoCons;
/// <summary>
/// odsTipoCons 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 odsTipoCons;
/// <summary>
/// grViewDettInt control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grViewDettInt;
/// <summary>
/// odsDettInt 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 odsDettInt;
}
}
+3 -3
View File
@@ -4,6 +4,7 @@
<script type="text/javascript">
function eventClick(e) {
//alert('Event with id ' + e.id() + ' was selected.');
document.location = '<%= SteamWare.devicesAuthProxy.pagCorrente %>?CodCliente=<%= this.CodCliente %>&Indir=<%= this.Indir %>&Data=<%= this.Data %>&IdxImpegno=' + e.id();
}
</script>
@@ -38,13 +39,12 @@
ViewType="Day"
HeightSpec="BusinessHours"
BusinessBeginsHour="8"
BusinessEndsHour="20"
BusinessEndsHour="19"
ScrollPositionHour="13"
ShowEventStartEnd="True"
CellHeight="15"
TimeRangeSelectedHandling="CallBack"
EventMoveHandling="CallBack"
EventResizeHandling="Disabled"
EventMoveHandling="CallBack"
EventClickHandling="JavaScript"
EventClickJavaScript="eventClick(e)"
Theme="calendar_white"
Binary file not shown.
Binary file not shown.
+921
View File
@@ -42,6 +42,8 @@ namespace WebSCR_data {
private DisponibilitaDataTable tableDisponibilita;
private DettImpegnoDataTable tableDettImpegno;
private global::System.Data.DataRelation relationFK_Disponibilita_AnagSquadre;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
@@ -99,6 +101,9 @@ namespace WebSCR_data {
if ((ds.Tables["Disponibilita"] != null)) {
base.Tables.Add(new DisponibilitaDataTable(ds.Tables["Disponibilita"]));
}
if ((ds.Tables["DettImpegno"] != null)) {
base.Tables.Add(new DettImpegnoDataTable(ds.Tables["DettImpegno"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -207,6 +212,16 @@ namespace WebSCR_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public DettImpegnoDataTable DettImpegno {
get {
return this.tableDettImpegno;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -301,6 +316,9 @@ namespace WebSCR_data {
if ((ds.Tables["Disponibilita"] != null)) {
base.Tables.Add(new DisponibilitaDataTable(ds.Tables["Disponibilita"]));
}
if ((ds.Tables["DettImpegno"] != null)) {
base.Tables.Add(new DettImpegnoDataTable(ds.Tables["DettImpegno"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -388,6 +406,12 @@ namespace WebSCR_data {
this.tableDisponibilita.InitVars();
}
}
this.tableDettImpegno = ((DettImpegnoDataTable)(base.Tables["DettImpegno"]));
if ((initTable == true)) {
if ((this.tableDettImpegno != null)) {
this.tableDettImpegno.InitVars();
}
}
this.relationFK_Disponibilita_AnagSquadre = this.Relations["FK_Disponibilita_AnagSquadre"];
}
@@ -417,6 +441,8 @@ namespace WebSCR_data {
base.Tables.Add(this.tablev_ImpegniCal);
this.tableDisponibilita = new DisponibilitaDataTable();
base.Tables.Add(this.tableDisponibilita);
this.tableDettImpegno = new DettImpegnoDataTable();
base.Tables.Add(this.tableDettImpegno);
this.relationFK_Disponibilita_AnagSquadre = new global::System.Data.DataRelation("FK_Disponibilita_AnagSquadre", new global::System.Data.DataColumn[] {
this.tableAnagSquadre.CodSquadraColumn}, new global::System.Data.DataColumn[] {
this.tableDisponibilita.CodSquadraColumn}, false);
@@ -477,6 +503,12 @@ namespace WebSCR_data {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeDettImpegno() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -559,6 +591,9 @@ namespace WebSCR_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void DisponibilitaRowChangeEventHandler(object sender, DisponibilitaRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void DettImpegnoRowChangeEventHandler(object sender, DettImpegnoRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -4065,6 +4100,416 @@ namespace WebSCR_data {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class DettImpegnoDataTable : global::System.Data.TypedTableBase<DettImpegnoRow> {
private global::System.Data.DataColumn columnIdxImpegno;
private global::System.Data.DataColumn columnNumCons;
private global::System.Data.DataColumn columnCodConsegna;
private global::System.Data.DataColumn columnDescrConsegna;
private global::System.Data.DataColumn columnMinutiStd;
private global::System.Data.DataColumn columnNumOp;
private global::System.Data.DataColumn columnElettrod;
private global::System.Data.DataColumn columnClima;
private global::System.Data.DataColumn columnInform;
private global::System.Data.DataColumn columnMinuti;
private global::System.Data.DataColumn columnNote;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoDataTable() {
this.TableName = "DettImpegno";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal DettImpegnoDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected DettImpegnoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn IdxImpegnoColumn {
get {
return this.columnIdxImpegno;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumConsColumn {
get {
return this.columnNumCons;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodConsegnaColumn {
get {
return this.columnCodConsegna;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescrConsegnaColumn {
get {
return this.columnDescrConsegna;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MinutiStdColumn {
get {
return this.columnMinutiStd;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumOpColumn {
get {
return this.columnNumOp;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ElettrodColumn {
get {
return this.columnElettrod;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ClimaColumn {
get {
return this.columnClima;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn InformColumn {
get {
return this.columnInform;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MinutiColumn {
get {
return this.columnMinuti;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NoteColumn {
get {
return this.columnNote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoRow this[int index] {
get {
return ((DettImpegnoRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettImpegnoRowChangeEventHandler DettImpegnoRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettImpegnoRowChangeEventHandler DettImpegnoRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettImpegnoRowChangeEventHandler DettImpegnoRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DettImpegnoRowChangeEventHandler DettImpegnoRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddDettImpegnoRow(DettImpegnoRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoRow AddDettImpegnoRow(int IdxImpegno, int NumCons, string CodConsegna, string DescrConsegna, int MinutiStd, int NumOp, bool Elettrod, bool Clima, bool Inform, int Minuti, string Note) {
DettImpegnoRow rowDettImpegnoRow = ((DettImpegnoRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxImpegno,
NumCons,
CodConsegna,
DescrConsegna,
MinutiStd,
NumOp,
Elettrod,
Clima,
Inform,
Minuti,
Note};
rowDettImpegnoRow.ItemArray = columnValuesArray;
this.Rows.Add(rowDettImpegnoRow);
return rowDettImpegnoRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoRow FindByIdxImpegnoNumCons(int IdxImpegno, int NumCons) {
return ((DettImpegnoRow)(this.Rows.Find(new object[] {
IdxImpegno,
NumCons})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
DettImpegnoDataTable cln = ((DettImpegnoDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new DettImpegnoDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnIdxImpegno = base.Columns["IdxImpegno"];
this.columnNumCons = base.Columns["NumCons"];
this.columnCodConsegna = base.Columns["CodConsegna"];
this.columnDescrConsegna = base.Columns["DescrConsegna"];
this.columnMinutiStd = base.Columns["MinutiStd"];
this.columnNumOp = base.Columns["NumOp"];
this.columnElettrod = base.Columns["Elettrod"];
this.columnClima = base.Columns["Clima"];
this.columnInform = base.Columns["Inform"];
this.columnMinuti = base.Columns["Minuti"];
this.columnNote = base.Columns["Note"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxImpegno);
this.columnNumCons = new global::System.Data.DataColumn("NumCons", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumCons);
this.columnCodConsegna = new global::System.Data.DataColumn("CodConsegna", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodConsegna);
this.columnDescrConsegna = new global::System.Data.DataColumn("DescrConsegna", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescrConsegna);
this.columnMinutiStd = new global::System.Data.DataColumn("MinutiStd", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMinutiStd);
this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumOp);
this.columnElettrod = new global::System.Data.DataColumn("Elettrod", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnElettrod);
this.columnClima = new global::System.Data.DataColumn("Clima", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClima);
this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnInform);
this.columnMinuti = new global::System.Data.DataColumn("Minuti", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMinuti);
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNote);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxImpegno,
this.columnNumCons}, true));
this.columnIdxImpegno.AllowDBNull = false;
this.columnNumCons.AllowDBNull = false;
this.columnCodConsegna.AllowDBNull = false;
this.columnCodConsegna.MaxLength = 50;
this.columnDescrConsegna.AllowDBNull = false;
this.columnDescrConsegna.MaxLength = 250;
this.columnMinutiStd.AllowDBNull = false;
this.columnNumOp.AllowDBNull = false;
this.columnElettrod.AllowDBNull = false;
this.columnClima.AllowDBNull = false;
this.columnInform.AllowDBNull = false;
this.columnNote.MaxLength = 250;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoRow NewDettImpegnoRow() {
return ((DettImpegnoRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new DettImpegnoRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(DettImpegnoRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.DettImpegnoRowChanged != null)) {
this.DettImpegnoRowChanged(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.DettImpegnoRowChanging != null)) {
this.DettImpegnoRowChanging(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.DettImpegnoRowDeleted != null)) {
this.DettImpegnoRowDeleted(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.DettImpegnoRowDeleting != null)) {
this.DettImpegnoRowDeleting(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveDettImpegnoRow(DettImpegnoRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Applicazione ds = new DS_Applicazione();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "DettImpegnoDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -5560,6 +6005,176 @@ namespace WebSCR_data {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class DettImpegnoRow : global::System.Data.DataRow {
private DettImpegnoDataTable tableDettImpegno;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal DettImpegnoRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableDettImpegno = ((DettImpegnoDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int IdxImpegno {
get {
return ((int)(this[this.tableDettImpegno.IdxImpegnoColumn]));
}
set {
this[this.tableDettImpegno.IdxImpegnoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumCons {
get {
return ((int)(this[this.tableDettImpegno.NumConsColumn]));
}
set {
this[this.tableDettImpegno.NumConsColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodConsegna {
get {
return ((string)(this[this.tableDettImpegno.CodConsegnaColumn]));
}
set {
this[this.tableDettImpegno.CodConsegnaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string DescrConsegna {
get {
return ((string)(this[this.tableDettImpegno.DescrConsegnaColumn]));
}
set {
this[this.tableDettImpegno.DescrConsegnaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int MinutiStd {
get {
return ((int)(this[this.tableDettImpegno.MinutiStdColumn]));
}
set {
this[this.tableDettImpegno.MinutiStdColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int NumOp {
get {
return ((int)(this[this.tableDettImpegno.NumOpColumn]));
}
set {
this[this.tableDettImpegno.NumOpColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Elettrod {
get {
return ((bool)(this[this.tableDettImpegno.ElettrodColumn]));
}
set {
this[this.tableDettImpegno.ElettrodColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Clima {
get {
return ((bool)(this[this.tableDettImpegno.ClimaColumn]));
}
set {
this[this.tableDettImpegno.ClimaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Inform {
get {
return ((bool)(this[this.tableDettImpegno.InformColumn]));
}
set {
this[this.tableDettImpegno.InformColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int Minuti {
get {
try {
return ((int)(this[this.tableDettImpegno.MinutiColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Minuti\' in table \'DettImpegno\' is DBNull.", e);
}
}
set {
this[this.tableDettImpegno.MinutiColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Note {
get {
try {
return ((string)(this[this.tableDettImpegno.NoteColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'DettImpegno\' is DBNull.", e);
}
}
set {
this[this.tableDettImpegno.NoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsMinutiNull() {
return this.IsNull(this.tableDettImpegno.MinutiColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetMinutiNull() {
this[this.tableDettImpegno.MinutiColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNoteNull() {
return this.IsNull(this.tableDettImpegno.NoteColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNoteNull() {
this[this.tableDettImpegno.NoteColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -5865,6 +6480,40 @@ namespace WebSCR_data {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class DettImpegnoRowChangeEvent : global::System.EventArgs {
private DettImpegnoRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoRowChangeEvent(DettImpegnoRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace WebSCR_data.DS_ApplicazioneTableAdapters {
@@ -9968,6 +10617,278 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class DettImpegnoTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DettImpegnoTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "DettImpegno";
tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno");
tableMapping.ColumnMappings.Add("NumCons", "NumCons");
tableMapping.ColumnMappings.Add("CodConsegna", "CodConsegna");
tableMapping.ColumnMappings.Add("DescrConsegna", "DescrConsegna");
tableMapping.ColumnMappings.Add("MinutiStd", "MinutiStd");
tableMapping.ColumnMappings.Add("NumOp", "NumOp");
tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
tableMapping.ColumnMappings.Add("Clima", "Clima");
tableMapping.ColumnMappings.Add("Inform", "Inform");
tableMapping.ColumnMappings.Add("Minuti", "Minuti");
tableMapping.ColumnMappings.Add("Note", "Note");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT IdxImpegno, NumCons, CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettro" +
"d, Clima, Inform, Minuti, Note FROM dbo.v_DettImp";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_DettImp_getByImpegno";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_DettImp_getByKey";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCons", 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_DettImp_insert";
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("@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].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Applicazione.DettImpegnoDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Applicazione.DettImpegnoDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Applicazione.DettImpegnoDataTable dataTable = new DS_Applicazione.DettImpegnoDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.DettImpegnoDataTable getByImpegno(global::System.Nullable<int> IdxImpegno) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((IdxImpegno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.DettImpegnoDataTable dataTable = new DS_Applicazione.DettImpegnoDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.DettImpegnoDataTable getByKey(global::System.Nullable<int> IdxImpegno, global::System.Nullable<int> NumCons) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((IdxImpegno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((NumCons.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(NumCons.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
DS_Applicazione.DettImpegnoDataTable dataTable = new DS_Applicazione.DettImpegnoDataTable();
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<int> IdxImpegno, string CodConsegna) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((IdxImpegno.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxImpegno.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((CodConsegna == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(CodConsegna));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+102
View File
@@ -785,6 +785,68 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DettImpegnoTableAdapter" GeneratorDataComponentClassName="DettImpegnoTableAdapter" Name="DettImpegno" UserDataComponentName="DettImpegnoTableAdapter">
<MainSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_DettImp" 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="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxImpegno, NumCons, CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform, Minuti, Note FROM dbo.v_DettImp</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxImpegno" DataSetColumn="IdxImpegno" />
<Mapping SourceColumn="NumCons" DataSetColumn="NumCons" />
<Mapping SourceColumn="CodConsegna" DataSetColumn="CodConsegna" />
<Mapping SourceColumn="DescrConsegna" DataSetColumn="DescrConsegna" />
<Mapping SourceColumn="MinutiStd" DataSetColumn="MinutiStd" />
<Mapping SourceColumn="NumOp" DataSetColumn="NumOp" />
<Mapping SourceColumn="Elettrod" DataSetColumn="Elettrod" />
<Mapping SourceColumn="Clima" DataSetColumn="Clima" />
<Mapping SourceColumn="Inform" DataSetColumn="Inform" />
<Mapping SourceColumn="Minuti" DataSetColumn="Minuti" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
</Mappings>
<Sources>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_DettImp_getByImpegno" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByImpegno" GetMethodModifier="Public" GetMethodName="getByImpegno" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByImpegno" UserSourceName="getByImpegno">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_DettImp_getByImpegno</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxImpegno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_DettImp_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_DettImp_getByKey</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxImpegno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumCons" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_DettImp_insert" 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">
<CommandText>dbo.stp_DettImp_insert</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxImpegno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodConsegna" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -1194,6 +1256,41 @@ 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_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" />
<xs:element name="NumCons" msprop:Generator_ColumnVarNameInTable="columnNumCons" msprop:Generator_ColumnPropNameInRow="NumCons" msprop:Generator_ColumnPropNameInTable="NumConsColumn" msprop:Generator_UserColumnName="NumCons" type="xs:int" />
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrConsegna" msprop:Generator_ColumnVarNameInTable="columnDescrConsegna" msprop:Generator_ColumnPropNameInRow="DescrConsegna" msprop:Generator_ColumnPropNameInTable="DescrConsegnaColumn" msprop:Generator_UserColumnName="DescrConsegna">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MinutiStd" msprop:Generator_ColumnVarNameInTable="columnMinutiStd" msprop:Generator_ColumnPropNameInRow="MinutiStd" msprop:Generator_ColumnPropNameInTable="MinutiStdColumn" msprop:Generator_UserColumnName="MinutiStd" type="xs:int" />
<xs:element name="NumOp" msprop:Generator_ColumnVarNameInTable="columnNumOp" msprop:Generator_ColumnPropNameInRow="NumOp" msprop:Generator_ColumnPropNameInTable="NumOpColumn" msprop:Generator_UserColumnName="NumOp" type="xs:int" />
<xs:element name="Elettrod" msprop:Generator_ColumnVarNameInTable="columnElettrod" msprop:Generator_ColumnPropNameInRow="Elettrod" msprop:Generator_ColumnPropNameInTable="ElettrodColumn" msprop:Generator_UserColumnName="Elettrod" type="xs:boolean" />
<xs:element name="Clima" msprop:Generator_ColumnVarNameInTable="columnClima" msprop:Generator_ColumnPropNameInRow="Clima" msprop:Generator_ColumnPropNameInTable="ClimaColumn" msprop:Generator_UserColumnName="Clima" type="xs:boolean" />
<xs:element name="Inform" msprop:Generator_ColumnVarNameInTable="columnInform" msprop:Generator_ColumnPropNameInRow="Inform" msprop:Generator_ColumnPropNameInTable="InformColumn" msprop:Generator_UserColumnName="Inform" type="xs:boolean" />
<xs:element name="Minuti" msprop:Generator_ColumnVarNameInTable="columnMinuti" msprop:Generator_ColumnPropNameInRow="Minuti" msprop:Generator_ColumnPropNameInTable="MinutiColumn" msprop:Generator_UserColumnName="Minuti" type="xs:int" minOccurs="0" />
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1230,6 +1327,11 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq
<xs:field xpath="mstns:Data" />
<xs:field xpath="mstns:CodSquadra" />
</xs:unique>
<xs:unique name="DettImpegno_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:DettImpegno" />
<xs:field xpath="mstns:IdxImpegno" />
<xs:field xpath="mstns:NumCons" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
+12 -11
View File
@@ -4,20 +4,21 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-1" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="75" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagSquadre" ZOrder="8" X="535" Y="428" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagZone" ZOrder="10" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="9" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagClienti" ZOrder="5" X="362" Y="191" Height="402" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
<Shape ID="DesignTable:Impegni" ZOrder="1" X="16" Y="190" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:DispImpTot" ZOrder="6" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DispImpSquadre" ZOrder="7" X="1026" Y="671" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="2" X="450" Y="797" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Disponibilita" ZOrder="4" X="784" Y="708" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagSquadre" ZOrder="9" X="535" Y="428" 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="6" X="362" Y="191" Height="402" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
<Shape ID="DesignTable:Impegni" ZOrder="2" X="16" Y="190" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:DispImpTot" ZOrder="7" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DispImpSquadre" ZOrder="8" X="1026" Y="671" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="3" X="450" Y="797" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Disponibilita" ZOrder="5" X="784" Y="708" Height="191" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:DettImpegno" ZOrder="1" X="44" Y="721" Height="343" Width="283" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="3" LineWidth="11">
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="4" LineWidth="11">
<RoutePoints>
<Point>
<X>745</X>
+3
View File
@@ -34,6 +34,7 @@ namespace WebSCR_data
taAS = new DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter();
taAZ = new DS_ApplicazioneTableAdapters.AnagZoneTableAdapter();
taImp = new DS_ApplicazioneTableAdapters.ImpegniTableAdapter();
taDetImp = new DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter();
taFile = new DS_UtilityTableAdapters.tblFilesTableAdapter();
}
/// <summary>
@@ -56,6 +57,7 @@ namespace WebSCR_data
taAS.Connection.ConnectionString = connStr;
taAZ.Connection.ConnectionString = connStr;
taImp.Connection.ConnectionString = connStr;
taDetImp.Connection.ConnectionString = connStr;
taFile.Connection.ConnectionString = connStrFiles;
}
@@ -76,6 +78,7 @@ namespace WebSCR_data
public DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter taAS;
public DS_ApplicazioneTableAdapters.AnagZoneTableAdapter taAZ;
public DS_ApplicazioneTableAdapters.ImpegniTableAdapter taImp;
public DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter taDetImp;
public DS_UtilityTableAdapters.tblFilesTableAdapter taFile;
public static DtProxy man = new DtProxy();
Binary file not shown.
Binary file not shown.