347 lines
21 KiB
Plaintext
347 lines
21 KiB
Plaintext
<%@ Control Language="C#" AutoEventWireup="true"
|
|
Inherits="mod_macchine" CodeBehind="mod_macchine.ascx.cs" %>
|
|
<%@ Register Src="~/WebUserControls/mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %>
|
|
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
|
<%@ Register Src="~/WebUserControls/mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc2" %>
|
|
<uc2:mod_filtro ID="mod_filtroImpianti" runat="server" css="txtMini" changeCheckEnabled="true" />
|
|
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
|
|
SelectMethod="GetData" TypeName="GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter"></asp:ObjectDataSource>
|
|
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="10" CssClass="table table-striped" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound" DataKeyNames="idxMacchina" DataSourceID="ods" OnRowDataBound="grView_RowDataBound" OnRowUpdating="grView_RowUpdating" OnPageIndexChanged="grView_PageIndexChanged" OnSorted="grView_Sorted" OnRowCancelingEdit="grView_RowCancelingEdit" OnRowEditing="grView_RowEditing">
|
|
<PagerStyle CssClass="active GridPager" />
|
|
<PagerSettings Mode="NumericFirstLast" />
|
|
<SelectedRowStyle CssClass="info" />
|
|
<EmptyDataTemplate>
|
|
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
|
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
|
|
Visible='<%# isWritable() %>' />
|
|
</EmptyDataTemplate>
|
|
<Columns>
|
|
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
|
<HeaderTemplate>
|
|
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
|
|
Visible="false" />
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" Visible='<%# isWritable() %>'
|
|
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
|
|
</ItemTemplate>
|
|
<EditItemTemplate>
|
|
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
|
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.small) %>' />
|
|
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
|
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' />
|
|
<asp:ImageButton ID="imgClona" runat="server" CausesValidation="False" ToolTip='<%# traduci("clonaRecord") %>'
|
|
ImageUrl='<%# imgPath(SteamWare.tipoImg.clona , SteamWare.dimImg.small) %>' CommandArgument="clonaObj"
|
|
CommandName="Update" OnClick="imgClona_Click" />
|
|
</EditItemTemplate>
|
|
<FooterTemplate>
|
|
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert"
|
|
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.small) %>'
|
|
OnClick="lblIns_click" />
|
|
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
|
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' />
|
|
</FooterTemplate>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="idxMacchina" HeaderText="idxMacchina" Visible="false"
|
|
InsertVisible="False" ReadOnly="True" SortExpression="idxMacchina" />
|
|
<asp:TemplateField HeaderText="codMacchina" SortExpression="codMacchina">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtcodMacchina" runat="server" Text='<%# Bind("codMacchina") %>'
|
|
Width="6em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtcodMacchina" runat="server" Text='<%# Bind("codMacchina") %>'
|
|
Width="6em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label3" runat="server" Text='<%# Bind("codMacchina") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="nomeMacchina" SortExpression="nomeMacchina">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtnomeMacchina" runat="server" Text='<%# Bind("nomeMacchina") %>'
|
|
Width="20em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtnomeMacchina" runat="server" Text='<%# Bind("nomeMacchina") %>'
|
|
Width="20em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label4" runat="server" Text='<%# Bind("nomeMacchina") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="modello" SortExpression="modello">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtmodello" runat="server" Text='<%# Bind("modello") %>' Width="8em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtmodello" runat="server" Text='<%# Bind("modello") %>' Width="8em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label5" runat="server" Text='<%# Bind("modello") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="matricola" SortExpression="matricola">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtmatricola" runat="server" Text='<%# Bind("matricola") %>' Width="4em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtmatricola" runat="server" Text='<%# Bind("matricola") %>' Width="4em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label7" runat="server" Text='<%# Bind("matricola") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="anno" SortExpression="anno">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtanno" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label8" runat="server" Text='<%# Bind("anno") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="kgPeso" SortExpression="kgPeso">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtkgPeso" runat="server" Text='<%# Bind("kgPeso") %>' Width="4em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("kgPeso") %>' Width="4em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label9" runat="server" Text='<%# Bind("kgPeso") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="kwConsumo" SortExpression="kwConsumo">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtkwConsumo" runat="server" Text='<%# Bind("kwConsumo") %>' Width="4em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("kwConsumo") %>' Width="4em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label10" runat="server" Text='<%# Bind("kwConsumo") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="funzDal" SortExpression="funzDal">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="cal_funzDal" runat="server" Text='<%# Bind("funzDal","{0:yyyy/MM/dd}") %>'
|
|
Width="6em" />
|
|
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
|
|
TargetControlID="cal_funzDal" Format="yyyy/MM/dd">
|
|
</cc1:CalendarExtender>
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="cal_funzDal" runat="server" Text='<%# Bind("funzDal","{0:yyyy/MM/dd}") %>'
|
|
Width="6em" />
|
|
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
|
|
TargetControlID="cal_funzDal" Format="yyyy/MM/dd">
|
|
</cc1:CalendarExtender>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label1" runat="server" Text='<%# Bind("funzDal","{0:yyyy/MM/dd}") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="funzAl" SortExpression="funzAl">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="cal_funzAl" runat="server" Text='<%# Bind("funzAl","{0:yyyy/MM/dd}") %>'
|
|
Width="6em" />
|
|
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Monday"
|
|
TargetControlID="cal_funzAl" Format="yyyy/MM/dd">
|
|
</cc1:CalendarExtender>
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="cal_funzAl" runat="server" Text='<%# Bind("funzAl","{0:yyyy/MM/dd}") %>'
|
|
Width="6em" />
|
|
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Monday"
|
|
TargetControlID="cal_funzAl" Format="yyyy/MM/dd">
|
|
</cc1:CalendarExtender>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label2" runat="server" Text='<%# Bind("funzAl","{0:yyyy/MM/dd}") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="idxImpianto" SortExpression="idxImpianto">
|
|
<FooterTemplate>
|
|
<uc1:mod_selettore_ajax ID="selAjax_idxImpianto" runat="server" valore='<%# Bind("idxImpianto") %>'
|
|
tipo="impianti" isValueVisible="false" vistaModulo="editing" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<uc1:mod_selettore_ajax ID="selAjax_idxImpianto" runat="server" valore='<%# Bind("idxImpianto") %>'
|
|
tipo="impianti" isValueVisible="false" vistaModulo="editing" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label6" runat="server" Text='<%# Eval("descrImpianto") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
|
<HeaderTemplate>
|
|
<asp:Button ID="btnNew" runat="server" OnClick="btnNew_Click" Text='<%# traduci("New") %>'
|
|
Visible='<%# isWritable() %>' />
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
|
CommandArgument='<%# Eval("idxMacchina") %>' ToolTip='<%# traduci("Delete") %>'
|
|
Visible='<%# isDelEnabled("Delete",Eval("idxMacchina")) %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina , SteamWare.dimImg.small) %>' />
|
|
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
|
TargetControlID="imgDelete">
|
|
</cc1:ConfirmButtonExtender>
|
|
</ItemTemplate>
|
|
<EditItemTemplate>
|
|
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
|
|
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.small) %>' />
|
|
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
|
|
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' />
|
|
</EditItemTemplate>
|
|
<FooterTemplate>
|
|
<asp:ImageButton ID="imgInsert2" runat="server" CausesValidation="False" CommandName="Insert"
|
|
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.small) %>'
|
|
OnClick="lblIns_click" />
|
|
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
|
|
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' />
|
|
</FooterTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
<asp:GridView ID="grViewShort" Visible="false" runat="server" AllowPaging="True" PageSize="10" CssClass="table table-striped" AllowSorting="True" AutoGenerateColumns="False" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grViewShort_DataBound" DataKeyNames="idxMacchina" DataSourceID="ods" OnRowDataBound="grView_RowDataBound" OnRowUpdating="grView_RowUpdating" >
|
|
<PagerStyle CssClass="active GridPager" />
|
|
<PagerSettings Mode="NumericFirstLast" />
|
|
<SelectedRowStyle CssClass="info" />
|
|
<EmptyDataTemplate>
|
|
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
|
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
|
|
Visible='<%# isWritable() %>' />
|
|
</EmptyDataTemplate>
|
|
<Columns>
|
|
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
|
<HeaderTemplate>
|
|
<asp:Button ID="btnResetShort" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnResetShort_Click" />
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
|
|
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
|
|
</ItemTemplate>
|
|
<EditItemTemplate>
|
|
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
|
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.small) %>' />
|
|
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
|
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' />
|
|
<asp:ImageButton ID="imgClona" runat="server" CausesValidation="False" ToolTip='<%# traduci("clonaRecord") %>'
|
|
ImageUrl='<%# imgPath(SteamWare.tipoImg.clona , SteamWare.dimImg.small) %>' CommandArgument="clonaObj"
|
|
CommandName="Update" OnClick="imgClona_Click" />
|
|
</EditItemTemplate>
|
|
<FooterTemplate>
|
|
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert"
|
|
ToolTip='<%# traduci("Insert") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.nuovo , SteamWare.dimImg.small) %>'
|
|
OnClick="lblIns_click" />
|
|
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
|
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla , SteamWare.dimImg.small) %>' />
|
|
</FooterTemplate>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="idxMacchina" HeaderText="idxMacchina" Visible="false"
|
|
InsertVisible="False" ReadOnly="True" SortExpression="idxMacchina" />
|
|
<asp:TemplateField HeaderText="codMacchina" SortExpression="codMacchina">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtcodMacchina" runat="server" Text='<%# Bind("codMacchina") %>'
|
|
Width="6em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtcodMacchina" runat="server" Text='<%# Bind("codMacchina") %>'
|
|
Width="6em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label3" runat="server" Text='<%# Bind("codMacchina") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="nomeMacchina" SortExpression="nomeMacchina">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtnomeMacchina" runat="server" Text='<%# Bind("nomeMacchina") %>'
|
|
Width="20em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtnomeMacchina" runat="server" Text='<%# Bind("nomeMacchina") %>'
|
|
Width="20em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label4" runat="server" Text='<%# Bind("nomeMacchina") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="modello" SortExpression="modello">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtmodello" runat="server" Text='<%# Bind("modello") %>' Width="8em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtmodello" runat="server" Text='<%# Bind("modello") %>' Width="8em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label5" runat="server" Text='<%# Bind("modello") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="matricola" SortExpression="matricola">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="txtmatricola" runat="server" Text='<%# Bind("matricola") %>' Width="4em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="txtmatricola" runat="server" Text='<%# Bind("matricola") %>' Width="4em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label7" runat="server" Text='<%# Bind("matricola") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="anno" SortExpression="anno">
|
|
<FooterTemplate>
|
|
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
|
</FooterTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:Label ID="Label8" runat="server" Text='<%# Bind("anno") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
<asp:Label ID="lblImpianto" runat="server" Visible="false" Text="0" />
|
|
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="DeleteQuery" InsertMethod="Insert"
|
|
OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="GIM_dataLayer.DS_applicazioneTableAdapters.v_macchineTableAdapter"
|
|
OnInserting="recuperaFooter" FilterExpression=" codMacchina LIKE '%{0}%' OR nomeMacchina LIKE '%{0}%' OR modello LIKE '%{0}%' OR matricola LIKE '%{0}%' OR descrImpianto LIKE '%{0}%' "
|
|
UpdateMethod="Update" OnInserted="ods_Updated" OnUpdated="ods_Updated">
|
|
<FilterParameters>
|
|
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
|
<asp:ControlParameter DefaultValue="*" ControlID="lblImpianto" Name="idxImpianto"
|
|
Type="Int32" />
|
|
</FilterParameters>
|
|
<DeleteParameters>
|
|
<asp:Parameter Name="Original_idxMacchina" Type="Int32" />
|
|
</DeleteParameters>
|
|
<UpdateParameters>
|
|
<asp:Parameter Name="idxImpianto" Type="Int32" />
|
|
<asp:Parameter Name="codMacchina" Type="String" />
|
|
<asp:Parameter Name="nomeMacchina" Type="String" />
|
|
<asp:Parameter Name="modello" Type="String" />
|
|
<asp:Parameter Name="matricola" Type="String" />
|
|
<asp:Parameter Name="anno" Type="Int32" />
|
|
<asp:Parameter Name="kgPeso" Type="Double" />
|
|
<asp:Parameter Name="kwConsumo" Type="Double" />
|
|
<asp:Parameter Name="funzDal" Type="DateTime" />
|
|
<asp:Parameter Name="funzAl" Type="DateTime" />
|
|
<asp:Parameter Name="Original_idxMacchina" Type="Int32" />
|
|
</UpdateParameters>
|
|
<InsertParameters>
|
|
<asp:Parameter Name="idxImpianto" Type="Int32" />
|
|
<asp:Parameter Name="codMacchina" Type="String" />
|
|
<asp:Parameter Name="nomeMacchina" Type="String" />
|
|
<asp:Parameter Name="modello" Type="String" />
|
|
<asp:Parameter Name="matricola" Type="String" />
|
|
<asp:Parameter Name="anno" Type="Int32" />
|
|
<asp:Parameter Name="kgPeso" Type="Double" />
|
|
<asp:Parameter Name="kwConsumo" Type="Double" />
|
|
<asp:Parameter Name="funzDal" Type="DateTime" />
|
|
<asp:Parameter Name="funzAl" Type="DateTime" />
|
|
</InsertParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
|
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|