pulizia aree commentate export excel mtz prev
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -28,16 +28,6 @@
|
||||
<asp:BoundField DataField="descrTipo" HeaderText="descrTipo" SortExpression="descrTipo" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<%--<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" />
|
||||
</FilterParameters>
|
||||
</asp:ObjectDataSource>--%>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearch" TypeName="GIM_data.DS_utilityTableAdapters.v_mtzProgPendingExpTableAdapter" OldValuesParameterFormatString="original_{0}">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="%" Name="ricerca" SessionField="valoreCercato" Type="String" />
|
||||
|
||||
@@ -84,24 +84,8 @@ public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
|
||||
public void aggiornamento()
|
||||
{
|
||||
grView.AllowPaging = false;
|
||||
checkFixOds();
|
||||
ods.DataBind();
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// sistemo filtraggio con valori selezionati
|
||||
/// </summary>
|
||||
private void checkFixOds()
|
||||
{
|
||||
//ods.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}%') )";
|
||||
//if (memLayer.ML.isInSessionObject("idxTipo_filt"))
|
||||
//{
|
||||
// ods.FilterExpression += " AND (idxTipo = {1})";
|
||||
//}
|
||||
//if (memLayer.ML.isInSessionObject("idxMacchina_filt"))
|
||||
//{
|
||||
// ods.FilterExpression += " AND (idxMacchina = {2})";
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user