<%@ page language="C#" autoeventwireup="true" inherits="Admin_UserManage_RolesList, App_Web_-01ukn0y" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!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>PassionCMS2</title>
</head>
<body bgcolor="#DBEAF5">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td background="../images/Top_line_3.gif" height="2">
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="Table4" style="background-color: #3390C6;">
                        <tr>
                            <td height="27" width="20">
                            </td>
                            <td width="80" align="center" background='../images/Menu_selected_bg.gif'>
                                <a href="#">角色列表</a>
                            </td>
                            <td width="80" align="center">
                                <a href="Roles.aspx" class='menu_title'>添加角色</a>
                            </td>
                            <td>
                                &nbsp;</td>
                            <td width="10">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td background="../images/Sub_menu_bg.gif" height="24">
                    <table class="O" cellspacing="0" cellpadding="0" width="100%" border="0" id="Table6">
                        <tbody>
                            <tr>
                                <td width="20">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="10">
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="3%">
                </td>
                <td>
                    <asp:GridView ID="gvRoleList" SkinID="gridviewSkin1" DataKeyNames="ID" AutoGenerateColumns="false"
                        runat="server" OnRowCommand="gvRoleList_RowCommand" OnRowDataBound="gvRoleList_RowDataBound">
                        <Columns>
                            <asp:TemplateField HeaderText="序号">
                                <ItemStyle HorizontalAlign="center" />
                                <ItemTemplate>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="RoleTitle" HeaderText="角色名称" ItemStyle-HorizontalAlign="Center" />
                            <asp:TemplateField HeaderText="操作">
                                <ItemStyle HorizontalAlign="center" />
                                <ItemTemplate>
                                    <asp:HyperLink ID="HL" Text="修改" NavigateUrl='<%# "~/Admin/UserManage/editRoles.aspx?ID=" + DataBinder.Eval(Container.DataItem,"ID")%>'
                                        runat="server"></asp:HyperLink>
                                    <asp:LinkButton runat="server" Text="删除" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"ID")%>'
                                        ID="delLB" CommandName="del"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
                <td width="3%">
                </td>
            </tr>
            <tr height="5">
            </tr>
        </table>
    </form>
</body>
</html>
