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

<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>系统标签分类管理</title>
    <link rel="stylesheet" href="../../skin/Style.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:Panel ID="pnlLableType" runat="server">
            <div class="itemtitle">
                <h3>
                    添加分类</h3>
            </div>
            <div class="itemtitle_tect">
                <p>
                    类别名称：<asp:TextBox ID="txtLableType" runat="server"></asp:TextBox><%--
                    &nbsp;所属栏目：<asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>--%>
                    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="添加" CssClass="i_button" />
                    <span style="color: Red;">
                        <asp:Label ID="lblMessage" runat="server" Text="Label" Visible="false"></asp:Label></span>
                </p>
            </div>
            <div class="clr">
            </div>
        </asp:Panel>
        <div class="talbe_border">
            <asp:DataList ID="dlstSystemLableType" runat="server" DataKeyField="ID" RepeatColumns="3"
                OnCancelCommand="dlstSystemLableType_CancelCommand" OnDeleteCommand="dlstSystemLableType_DeleteCommand"
                OnEditCommand="dlstSystemLableType_EditCommand" OnUpdateCommand="dlstSystemLableType_UpdateCommand"
                CssClass="talbe_list" Width="100%">
                <HeaderStyle CssClass="noya" />
                <HeaderTemplate>
                    <div class="head_ling">
                        系统标签分类管理</div>
                </HeaderTemplate>
                <ItemTemplate>
                    <%# DataBinder.Eval(Container.DataItem, "Name")%>
                    【<asp:LinkButton ID="lbtnEdit" Font-Underline="false" runat="server" CommandName="edit">编辑</asp:LinkButton>】
                    【<asp:LinkButton ID="lbtnDelete" runat="server" Font-Underline="false" CommandName="delete"
                        OnClientClick="return confirm('您确认要删除吗？')" Text="删除"></asp:LinkButton>】
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtName" runat="server" Text='<%# Eval("Name")%>'></asp:TextBox>
                    <asp:LinkButton ID="btnUpdate" runat="server" CommandName="update">更新</asp:LinkButton>
                    <asp:LinkButton ID="btnCancel" runat="server" CommandName="cancel">取消</asp:LinkButton>
                </EditItemTemplate>
            </asp:DataList>
        </div>
    </form>
</body>
</html>
