/
ivan
/
ModMas
Обзор
Документация
Войти
/
ivan
/
ModMas
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ModuleMaster/purchasing/mat_comparison_pivot.aspx
153 строки
6 KB
i.krivokon
Initial commit
13 мар 2026, 13:49
13 мар 2026, 13:49
00d9fb6
Код
Авторство
О чём код?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="mat_comparison_pivot.aspx.vb" Inherits="Purchasing_mat_comparison_pivot" EnableEventValidation="false" ValidateRequest="false" MaintainScrollPositionOnPostback="true" %> <!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"> <head runat="server"> <title>Material cost report</title> <link href="../Styles/staticheader/StaticHeader.css" rel="stylesheet" type="text/css" /> <script src="../Styles/staticheader/x.js" type="text/javascript"></script> <script src="../Styles/staticheader/xtableheaderfixed.js" type="text/javascript"></script> <style type="text/css"> #tblFilters { margin: 0 auto; background: #9fce55; border-top: 3px solid #84a564; margin-bottom: 1px; } #tblFilters td { text-align: center; border-collapse: collapse; } body { font-family: Tahoma; font-size: 8pt; background-color: LightGray; } #gvTheGrid table { border-collapse: collapse; } #gvTheGrid td { border: 1px Solid Gray; background-color: White; } #gvTheGrid th { border: 1px Solid White; background-color: Navy; color: White; font-weight: bold; } </style> </head> <body> <form id="form1" runat="server"> <div> <table style="margin: 0 auto;" id="tblFilters"> <tr> <td> Model </td> <td> Material group </td> <td> Parent material </td> <td > Vendor</td> <td style="display: none;"> Plant </td> <td> </td> <td> </td> </tr> <tr> <td> <%-- <asp:DropDownList ID="ddlModel" runat="server" AutoPostBack="True" DataSourceID="reportModel" DataTextField="model" DataValueField="model"> </asp:DropDownList>--%> <asp:DropDownList runat="server" ID="ddlModel" AutoPostBack="true"> </asp:DropDownList> </td> <td> <asp:DropDownList ID="ddlMaterialGroup" runat="server" AutoPostBack="True"> </asp:DropDownList> </td> <td> <asp:DropDownList ID="ddlParent" runat="server" AutoPostBack="True"> </asp:DropDownList> </td> <td > <asp:DropDownList ID="ddlVendor" runat="server" AutoPostBack="True"> </asp:DropDownList> </td> <td style="display: none;"> <asp:DropDownList ID="ddlPlant" runat="server" AutoPostBack="True"> </asp:DropDownList> </td> <td> <asp:ImageButton ID="ibRefresh" runat="server" ImageUrl="~/Images/Refresh.png" /> </td> <td> <asp:ImageButton ID="ibExcel" runat="server" ImageUrl="~/Images/Microsoft Office 2003 Excel.png" Width="24px" Height="24px" /> </td> </tr> <tr> <td colspan="7"> <asp:CheckBoxList ID="cblPlants" runat="server" DataSourceID="sdsPlants" DataTextField="Plant" DataValueField="Plant" Style="margin: 0 auto;" RepeatDirection="Horizontal" AutoPostBack="True"> </asp:CheckBoxList> <asp:SqlDataSource ID="sdsPlants" runat="server" ConnectionString="<%$ ConnectionStrings:SERKIntranetConnectionString %>" SelectCommand="SELECT DISTINCT Plant FROM UserModules.[user].DATA_FOR_PIVOT order by Plant"></asp:SqlDataSource> </td> </tr> <tr> <td colspan="7"> <asp:CheckBox runat="server" ID="ShowParent" Text ="Show Parent" AutoPostBack="True" Checked="False" /> <asp:CheckBox runat="server" ID="ShowVendor" Text ="Show Vendor" AutoPostBack="True" Checked="False" /> <asp:CheckBox runat="server" ID="ShowMaterial" Text ="Show Material" AutoPostBack="True" /> <asp:CheckBox runat="server" ID="CollectRowHeaders" Text ="Collect Row Headers" AutoPostBack="True" Checked="True" /> </td> </tr> </table> </div> <asp:GridView ID="GridView1" runat="server" Style="margin: 0 auto;" CellPadding="3" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"> <FooterStyle BackColor="White" ForeColor="#000066" /> <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" /> <RowStyle ForeColor="#000066" /> <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /> <SortedAscendingCellStyle BackColor="#F1F1F1" /> <SortedAscendingHeaderStyle BackColor="#007DBB" /> <SortedDescendingCellStyle BackColor="#CAC9C9" /> <SortedDescendingHeaderStyle BackColor="#00547E" /> </asp:GridView> <%--<div id='table-container'>--%> <asp:Table ID="gvTheGrid" runat="server" Style="margin: 0 auto;" CellPadding="5" CellSpacing="0"> </asp:Table> <%--</div>--%> </form> </body> </html>