update export vecchio
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true"
|
||||
EnableEventValidation="false" Inherits="ExcelExportMtzPrevPending" Codebehind="ExcelExportMtzPrevPending.aspx.cs" %>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" Inherits="ExcelExportMtzPrevPending"
|
||||
CodeBehind="ExcelExportMtzPrevPending.aspx.cs" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
@@ -9,16 +9,8 @@
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
|
||||
DataKeyNames="idxPending" DataSourceID="ods" OnDataBound="grView_DataBound">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="idxPending"
|
||||
DataSourceID="ods" OnDataBound="grView_DataBound" EnableModelValidation="True">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="data" HeaderText="data" SortExpression="data" DataFormatString="{0:dd/MM/yyyy}"
|
||||
HtmlEncode="false" />
|
||||
@@ -28,19 +20,22 @@
|
||||
<asp:BoundField DataField="nomeMacchina" HeaderText="nomeMacchina" SortExpression="nomeMacchina" />
|
||||
<asp:BoundField DataField="descrizione" HeaderText="descrizione" SortExpression="descrizione" />
|
||||
<asp:BoundField DataField="descrPriorita" HeaderText="descrPriorita" SortExpression="descrPriorita" />
|
||||
<asp:CheckBoxField DataField="isFermo" HeaderText="chkImpFermo" SortExpression="isFermo" />
|
||||
<asp:TemplateField HeaderText="chkImpFermo" SortExpression="isFermo">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="CheckBox1" runat="server" Text='<%# Eval("isFermo") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="descrTipo" HeaderText="descrTipo" SortExpression="descrTipo" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_mtzProgPendingExpTableAdapter"
|
||||
OldValuesParameterFormatString="original_{0}" FilterExpression=" (codImpianto LIKE '%{0}%') OR (nomeImpianto LIKE '%{0}%') OR (codMacchina LIKE '%{0}%') OR (nomeMacchina LIKE '%{0}%') OR (descrizione LIKE '%{0}%') OR (descrPriorita LIKE '%{0}%') OR (descrTipo LIKE '%{0}%') ">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
<asp:SessionParameter DefaultValue="0" Name="idxTipo" SessionField="idxTipo_filt"
|
||||
Type="Int32" />
|
||||
<asp:SessionParameter DefaultValue="0" Name="idxMacchina" SessionField="idxMacchina_filt"
|
||||
Type="Int32" />
|
||||
Type="Int32" />
|
||||
<asp:SessionParameter DefaultValue="0" Name="idxMacchina" SessionField="idxMacchina_filt"
|
||||
Type="Int32" />
|
||||
</FilterParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
|
||||
@@ -43,9 +43,7 @@ public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
|
||||
|
||||
public override void VerifyRenderingInServerForm(Control control)
|
||||
{
|
||||
|
||||
// Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time.
|
||||
|
||||
}
|
||||
|
||||
private void doExport()
|
||||
@@ -79,7 +77,6 @@ public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public void aggiornamento()
|
||||
{
|
||||
grView.AllowPaging = false;
|
||||
@@ -103,6 +100,4 @@ public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
|
||||
ods.FilterExpression += " AND (idxMacchina = {2})";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -30,15 +29,6 @@ public partial class ExcelExportMtzPrevPending {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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.Label lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user