⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editprice_price_2.aspx

📁 简单的Web平台。能够读取Excel文件
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditPrice_Price_2.aspx.cs" Inherits="EditPrice_Price_2" Debug="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>无标题页</title>
    <script language="javascript" type="text/javascript">
        function GoBack()
        {
            if ( !confirm('是否确定退出匹配模块?') )
            {
                return;
            }
            parent.frames['Main_Bottom_MenuFrame'].location = 'PriceMenu.aspx';
            parent.frames['Main_Bottom_MainFrame'].location = 'BrowsePrice.aspx';
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <table>
                <tr>
                    <td style="width: 35px">
                    </td>
                    <td style="width: 70px">
                    </td>
                    <td style="width: 130px">
                    </td>
                    <td style="width: 130px">
                    </td>
                    <td style="width: 130px">
                    </td>
                    <td style="width: 100px">
                    </td>
                    <td style="width: 100px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 35px">
                    </td>
                    <td align="right" style="width: 70px">
                        <asp:Label ID="Label2" runat="server" Font-Names="宋体" Font-Size="Small" Text="匹配条件"
                            Width="60px"></asp:Label></td>
                    <td style="width: 130px">
                        <asp:RadioButton ID="rbMax" runat="server" Font-Names="宋体" Font-Size="Small" GroupName="Solution"
                            Text="取最大值" /></td>
                    <td style="width: 130px">
                        <asp:RadioButton ID="rbMin" runat="server" Checked="True" Font-Names="宋体" Font-Size="Small"
                            GroupName="Solution" Text="取最小值" /></td>
                    <td style="width: 130px">
                        <asp:RadioButton ID="rbAvg" runat="server" Font-Names="宋体" Font-Size="Small" GroupName="Solution"
                            Text="取平均值" /></td>
                    <td style="width: 100px">
                        <asp:Button ID="btnMatch" runat="server" OnClick="btnMatch_Click" Text="开始匹配" /></td>
                    <td style="width: 100px">
                        <input id="Button1" style="width: 78px; height: 24px" type="button" value="返回" onclick="GoBack()" /></td>
                </tr>
                <tr>
                    <td style="width: 35px">
                    </td>
                    <td style="width: 70px">
                    </td>
                    <td style="width: 130px">
                    </td>
                    <td style="width: 130px">
                    </td>
                    <td style="width: 130px">
                    </td>
                    <td style="width: 100px">
                    </td>
                    <td style="width: 100px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 35px">
                    </td>
                    <td align="right" style="width: 70px">
                        <asp:Label ID="Label1" runat="server" Font-Names="宋体" Font-Size="Small" Text="零件编号"
                            Width="60px"></asp:Label></td>
                    <td style="width: 130px">
                        <asp:TextBox ID="txtPartNum" runat="server" Height="16px" Width="110px"></asp:TextBox></td>
                    <td align="right" style="width: 130px">
                        <asp:Label ID="Label3" runat="server" Font-Names="宋体" Font-Size="Small" Text="查询范围"
                            Width="60px"></asp:Label></td>
                    <td style="width: 130px">
                        <asp:DropDownList ID="ddlQueryRange" runat="server">
                            <asp:ListItem Value="-1">全部</asp:ListItem>
                            <asp:ListItem Value="已导入">已匹配上</asp:ListItem>
                            <asp:ListItem Value="未导入">未匹配上</asp:ListItem>
                        </asp:DropDownList></td>
                    <td style="width: 100px">
                        <asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查询" /></td>
                    <td style="width: 100px">
                        <asp:CheckBox ID="chbBlur" runat="server" Font-Names="宋体" Font-Size="Small" Text="模糊匹配" /></td>
                </tr>
            </table>
        </div>
        <asp:GridView ID="gvPriceItems" runat="server" AllowPaging="True" CellPadding="4" Font-Names="Arial"
            Font-Size="Small" ForeColor="#333333" GridLines="None" Height="200px" Width="576px" OnRowDataBound="gvPriceItems_RowDataBound" OnPageIndexChanging="gvPriceItems_PageIndexChanging">
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />
            <EditRowStyle BackColor="#999999" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <PagerTemplate>
                当前页:<asp:Label ID="LabelCurrentPage" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageIndex + 1 %>"></asp:Label>
                总页数:<asp:Label ID="LabelPageCount" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageCount %>">总页数:</asp:Label>
                <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page"
                    Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev"
                    CommandName="Page" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page"
                    Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page"
                    Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
                <asp:TextBox ID="txtNewPageIndex" runat="server" Height="11px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'
                    Width="24px"></asp:TextBox>
                <asp:LinkButton ID="btnGo" runat="server" CausesValidation="False" CommandArgument="-1"
                    CommandName="Page" Text="GO"></asp:LinkButton>
            </PagerTemplate>
        </asp:GridView>
        <asp:HiddenField ID="hidVersion" runat="server" />
        <asp:HiddenField ID="hidModels" runat="server" />
        <asp:HiddenField ID="hidTableName" runat="server" />
        <asp:HiddenField ID="hidItems" runat="server" />
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -