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

📄 cuslabelkind_add.aspx

📁 易想商城系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CusLabelKind_Add.aspx.cs" Inherits="YXShop.Web.Admin.Templates.CusLabelKind_Add" ResponseEncoding="gb2312" %>
 

<!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>
        <link href="../images/StyleAdmin.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
        .Tr
        {
            behavior: url(style.htc);
            background-color: #D7E3F3;
        }
        .submitMiniGreen
        {
            border-top-width: 0px;
            padding-right: 5px;
            padding-left: 5px;
            border-left-width: 0px;
            font-size: 12px;
            background: url(../images/botton01.png) #83bbd9 repeat-x;
            border-bottom-width: 0px;
            padding-bottom: 0px;
            width: 78px;
            cursor: pointer;
            color: #1e5494;
            padding-top: 0px;
            height: 26px;
            border-right-width: 0px;
        }
    </style>

    <script src="../../js/prototype.js" type="text/javascript"></script>

    <script type="text/javascript">
    function checkVal()
    {
       if($("CusLabelKindName").value.replace(/\s+/g,"")=="")
       {
          alert("请输入类型名称!");
          $("CusLabelKindName").focus();
          return  false;
       }
       }
    </script>
    

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td height="30" bgcolor="#DFEEFD">
                    <span lang="zh-cn">&nbsp;<font color="#135294"><b>添加用户自定义标签类型</b> </font>&nbsp;[<a
                        href="Mo_Manage.aspx">系统模板方案管理</a>]&nbsp;[<a href="Mo_CustomLabel_Add.aspx">添加用户自定义标签</a>]&nbsp;[<a
                        href="Mo_CusLabelManage.aspx">用户自定义标签管理</a>]&nbsp;
                        [<a href="CusLabelKind_Add.aspx"  >刷新</a>]&nbsp;
                    </span>
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="5" bgcolor="#DFEEFD">
                    &nbsp;
                </td>
                <td height="100" valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" style="border: solid 1px #78B9E6">
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Label ID="msg" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr class="Tr" height="25">
                            <td>
                                &nbsp;类型名称
                            </td>
                            <td>
                                <asp:TextBox ID="CusLabelKindName" runat="server" MaxLength="25" Width="192px"></asp:TextBox>
                                &nbsp;&nbsp;&nbsp;<asp:Button ID="addBtn" runat="server" Text="添加类型" class="submitMiniGreen"
                                    OnClientClick="return checkVal();" OnClick="addBtn_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td height="1" bgcolor="#b3cde3" colspan="2">
                            </td>
                        </tr>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" style="border: solid 1px #78B9E6">
                        <tr>
                            <td>
                                <asp:GridView ID="GridView_LabelKind" runat="server" AutoGenerateColumns="False"
                                    OnRowCancelingEdit="GridView_LabelKind_RowCancelingEdit" OnRowDeleting="GridView_LabelKind_RowDeleting"
                                    OnRowEditing="GridView_LabelKind_RowEditing" OnRowUpdating="GridView_LabelKind_RowUpdating"
                                    BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="0px"
                                    CellPadding="1" ForeColor="Black" GridLines="Vertical" OnRowDataBound="GridView_LabelKind_RowDataBound"
                                    Width="100%">
                                    <FooterStyle BackColor="#CCCCCC" />
                                    <Columns>
                                        <asp:BoundField DataField="CusLabelKind_Name" HeaderText="类型名称">
                                            <HeaderStyle Height="22px" Width="250px" />
                                            <ItemStyle Height="22px" HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="CusLabelKind_Date" HeaderText="更新时间" ReadOnly="True">
                                            <HeaderStyle Width="250px" />
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:CommandField CancelText="取消" EditText="编辑" ShowEditButton="True" UpdateText="修改"
                                            HeaderText="操作">
                                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:CommandField>
                                        <asp:TemplateField HeaderText="所属用户自定义标签管理">
                                            <ItemTemplate>
                                               &nbsp; <a href="Mo_CusLabelManage.aspx?LabelKindID=<%#Eval("CusLabelKind_ID") %>">管理</a>
                                            </ItemTemplate>
                                            <HeaderStyle HorizontalAlign="Center" Width="200px" />
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:TemplateField>
                                        <asp:CommandField DeleteText="删除" ShowDeleteButton="True" HeaderText="删除">
                                            <HeaderStyle Width="100px" />
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:CommandField>
                                    </Columns>
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#96CEEF" Font-Bold="True" ForeColor="White" />
                                    <AlternatingRowStyle BackColor="#F6F6F6" />
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="5" bgcolor="#DFEEFD">
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td height="8" bgcolor="#DFEEFD">
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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