couponcontrol.ascx

来自「C#语言制作asp.net网上商店的」· ASCX 代码 · 共 143 行

ASCX
143
字号
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CouponControl.ascx.vb" Inherits="Admin_Merchandising_Controls_CouponControl" %>
<h1 align="center">
    红包管理</h1>
<asp:Literal ID="Information" runat="server" Text="XXXXXXXXXXXX"></asp:Literal><br />
<br />
<table border="0" cellpadding="2" cellspacing="0" width="100%">
    <tr>
        <td class="DialogTitle">
            <asp:Label ID="lblDialogTitle" runat="server" Text="红包列表"></asp:Label></td>
    </tr>
    <tr >
        <td class="DialogBorder">
            <table border="0" cellpadding="10" cellspacing="0" width="100%">
                <tbody>
                    <tr>
                        <td class="DialogBox">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="height: 18px">

                                        <script language="javascript" src="../../js/change_all_checkboxes.js"></script>

                                        <div style="line-height: 170%">
                                            <a href="javascript:checkAll(true,'gvCustomerRole');">Check all</a>
                                            / <a href="javascript:checkAll(false,'gvCustomerRole');">Uncheck all</a></div>
                                        <asp:GridView ID="gvBrand" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                            BorderColor="White" DataKeyNames="BrandID" EmptyDataText="没有定义商品品牌厂商" Width="100%">
                                            <Columns>
                                                <asp:TemplateField>
                                                    <ItemStyle HorizontalAlign="Center" Width="25px" />
                                                    <HeaderStyle Height="25px" />
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="cbSelect" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:BoundField HeaderText="红包代码" />
                                                <asp:TemplateField HeaderText="状态">
                                                    <ItemStyle Width="50px" />
                                                    <HeaderStyle Width="50px" />
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtItemOrder" runat="server" Text='<%#Eval("ItemOrder") %>' Width="43px"></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:BoundField />
                                                <asp:BoundField />
                                                <asp:BoundField />
                                            </Columns>
                                        </asp:GridView>
                                        <br />
                                        <asp:Button ID="btnCouponDelete" runat="server" Text="删除选中" />&nbsp;
                                        <asp:Button ID="btnCouponUpdate" runat="server" Text="Update" /><br />
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="height: 18px">
                                        <b>Add New</b>&nbsp;
                                        <hr noshade="noshade" size="1" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="height: 18px">
                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                            <tr>
                                                <td style="width: 10px" >
                                                    红包代码:</td>
                                                <td style="width: 100px">
                                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                    使用次数:</td>
                                                <td style="width: 100px">
                                                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                    状态</td>
                                                <td style="width: 100px">
                                                    <asp:DropDownList ID="DropDownList1" runat="server">
                                                    </asp:DropDownList></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                    红包类型:</td>
                                                <td style="width: 100px; height: 19px">
                                                    <asp:DropDownList ID="DropDownList2" runat="server">
                                                    </asp:DropDownList></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                    金额:</td>
                                                <td style="width: 100px">
                                                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                    过期时间:</td>
                                                <td style="width: 500px">
                                                    <asp:DropDownList ID="DropDownList3" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:DropDownList ID="DropDownList4" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:DropDownList ID="DropDownList5" runat="server">
                                                    </asp:DropDownList></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                    使用范围:</td>
                                                <td style="width: 100px">
                                                    <asp:RadioButton ID="rbOrdertotal" runat="server" /></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                </td>
                                                <td >
                                                    <asp:RadioButton ID="rbProduct" runat="server" /></td>
                                            </tr>
                                            <tr>
                                                <td style="width: 10px" >
                                                </td>
                                                <td >
                                                    <asp:RadioButton ID="rbCategory" runat="server" /></td>
                                            </tr>
                                        </table>
                                                      </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </td>
    </tr>
</table>
<br />
<div>
    &nbsp;</div>

⌨️ 快捷键说明

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