<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="EnumTypeList.aspx.cs" Inherits="OAWeb.Sys.EnumTypeList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <!--主体-->
    <div class="page_main">
        <div class="page_content">
            <table class="data_title" cellspacing="3">
                <tr>
                    <td class="data_caption">
                        枚举类型管理
                    </td>
                </tr>
            </table>
            <div class="page_op">
                <asp:Button ID="btnNewUser" runat="server" Text="新增类型" CssClass="btn_77px" OnClientClick="return OpenDialog('/Sys/EnumTypeEdit.aspx','新增枚举类型');" />
            </div>
            <div class="list">
                <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                    GridLines="None" OnRowDataBound="gvData_RowDataBound" CellSpacing="0" CellPadding="0"
                    CssClass="table_list" EnableModelValidation="True">
                    <RowStyle HorizontalAlign="Left" />
                    <Columns>
                        <asp:BoundField DataField="Id" HeaderText="Id" />
                        <asp:BoundField DataField="Name" HeaderText="名称" />
                        <asp:BoundField DataField="Remark" HeaderText="备注" />
                        <asp:BoundField DataField="SortIndex" HeaderText="显示顺序" />
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbtnEdit" runat="server">编辑</asp:LinkButton>
                                <asp:LinkButton ID="lbtnDelete" runat="server">删除</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>
