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

📄 pricemenu.aspx

📁 简单的Web平台。能够读取Excel文件
💻 ASPX
字号:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PriceMenu.aspx.cs" Inherits="PriceMenu" %>

<!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 OnTreeClicked()
        {            
            var obj = window.event.srcElement;
            if (obj.tagName == "INPUT" && obj.type == "checkbox")
            {
                  __doPostBack("","");
            }
        }
        
        function OnCreatePrice()
        {
            parent.frames["Main_Bottom_MainFrame"].location = "CreatePrice.aspx";            
        }
        /*
        function OnImportPrice()
        {
            parent.frames["Main_Bottom_MainFrame"].location = "ImportMenu.aspx";
        }
        
        function OnEditPrice()
        {
            parent.frames["Main_Bottom_MainFrame"].location = "EditMenu.aspx";
        }*/
    -->
    </script>
</head>

<body>
    <form id="form1" runat="server">
    <div>
       <table style="height: 435px; width: 190px;">
            <tr>
                <td style="width: 176px; height: 245px" align="left" valign="top">
                <div style=" OVERFLOW-Y: scroll;WIDTH: 21.64%;HEIGHT: 320px;BACKGROUND-COLOR: #6699cc">
                    <asp:TreeView ID="trvPrice" runat="server" Height="240px" ImageSet="Arrows" Width="176px" ShowCheckBoxes="All" ExpandDepth="0" OnSelectedNodeChanged="trvPrice_SelectedNodeChanged" OnTreeNodeCheckChanged="trvPrice_TreeNodeCheckChanged" Target="Main_Bottom_MainFrame" OnClick="OnTreeClicked()">
                        <ParentNodeStyle Font-Bold="False" />
                        <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                        <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
                            VerticalPadding="0px" />
                        <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                            NodeSpacing="0px" VerticalPadding="0px" />                                                
                    </asp:TreeView>
                </div>
                </td>
            </tr>
            <tr>
                <td style="width: 176px; height: 24px">
                    <asp:Label ID="lblPriceFilter" runat="server" Text="价格状态" Font-Names="宋体" Font-Size="Small"></asp:Label>&nbsp;
                    <asp:DropDownList ID="ddlPriceItemFilter" runat="server" Height="24px" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlPriceItemFilter_SelectedIndexChanged">
                        <asp:ListItem Value="0">全部</asp:ListItem>
                        <asp:ListItem Value="1" Selected="True">制作中</asp:ListItem>
                        <asp:ListItem Value="3">已发布</asp:ListItem>
                        <asp:ListItem Value="4">已废弃</asp:ListItem>
                    </asp:DropDownList></td>
                    <!--<asp:ListItem Value="2">已完成</asp:ListItem>-->
            </tr>
            <tr>
                <td style="width: 176px; height: 24px">
                    <asp:Label ID="lblCompStatus" runat="server" Font-Names="宋体" Font-Size="Small" Text="导入状态"></asp:Label>&nbsp;
                    <asp:DropDownList ID="ddlComStatus" runat="server" Height="24px" Width="80px" OnSelectedIndexChanged="ddlComStatus_SelectedIndexChanged" AutoPostBack="true" >
                        <asp:ListItem Value="全部">全部</asp:ListItem>
                        <asp:ListItem>已导入</asp:ListItem>
                        <asp:ListItem>未导入</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 176px; height: 90px">
                    <!--<input type="button" value="创建价格"  onclick="OnCreatePrice()" id="btnCreate" />-->
                    <!--<input type="button" value="导入价格" onclick="OnImportPrice()" style="width: 79px; height: 24px" id="btnImport" /><br />-->
                    <!--<input type="button" value="编辑价格" onclick="OnEditPrice()" style="width: 79px; height: 24px" id="btnEdit" /><br />-->
                    <input id="Button1" name="Button1" type="button" value="创建" style="width: 55px; height: 24px" onclick="OnCreatePrice()" />
                    <asp:Button ID="btnDel" runat="server" Height="24px" Text="删除" Width="55px" OnClick="btnDel_Click" /><br />
                    <asp:Button ID="btnImport"  runat="server" Text="导入" OnClick="btnImport_Click" Height="24px" Width="55px" />
                    <asp:Button ID="btnEdit"    runat="server" Text="编辑" OnClick="btnEdit_Click" Height="24px" Width="55px" /><br />
                    <asp:Button ID="btnPublish" runat="server" Text="发布" OnClick="btnPublish_Click" Height="24px" Width="55px" />
                    <asp:Button ID="btnAbandon" runat="server" Text="废弃" OnClick="btnAbandon_Click" Height="24px" Width="55px" /></td>
            </tr>
        </table>
    </div>
                    <asp:HiddenField ID="hidCheckedModelCount" runat="server" Value="0" />
    </form>
</body>
</html>

⌨️ 快捷键说明

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