<%@ Page Language="C#" AutoEventWireup="true" Inherits="WstWeb.Admin.Admin.admin_AdminManagement_Role_list" Codebehind="Role_list.aspx.cs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!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>
  <title>角色列表</title>
    <link href="../CSS/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
   
    
        <div class="ctright">
   <div class="map"><h3><strong class="left">角色管理</strong><strong class="right search_icon"><a href="Role_edit.aspx"> 添加</a></strong></h3></div>
    
 <div class="formclum">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:5px;">
  <tbody>
   <tr>
<td width="100" align="right">
角色名称：
</td>
<td colspan="3" align="left">
<asp:TextBox ID="txt_roleName" CssClass="inp1" runat="server"  Width="120"></asp:TextBox> 

&nbsp;&nbsp; <asp:Button ID="btn_cx" runat="server" Text="" CssClass="button10"  onclick="btn_cx_Click"  />
</td>
</tr>
 </tbody>
</table>
</div>

<div class="clear"></div>
    

  <div class="form" style="margin-top:10px;">
<asp:GridView ID="GridView1"  runat="server" AutoGenerateColumns="False"  CssClass="gridView"  CellPadding="0" CellSpacing="0">
<Columns>
              <asp:BoundField DataField="roleName" HeaderText="角色名称" />
              <asp:TemplateField HeaderText="修改"  ItemStyle-Width="40px">
                  <ItemTemplate>
                      <asp:LinkButton ID="lbtn_xg" CommandArgument='<%# Eval("roleID") %>' CssClass="bluelk" runat="server" OnCommand="lbtn_xg_Command">[修改]</asp:LinkButton>
                  </ItemTemplate>
              </asp:TemplateField>
              <asp:TemplateField HeaderText="删除" ItemStyle-Width="40px">
                  <ItemTemplate>
                      <asp:LinkButton ID="lbtn_sc" CommandArgument='<%# Eval("roleID") %>' CssClass="bluelk" Text="<div class=&quot;bluelk&quot; id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定要删除该记录吗？')&quot;>[删除]</div>" runat="server" OnCommand="lbtn_sc_Command"></asp:LinkButton>
                  </ItemTemplate>
              </asp:TemplateField>
          </Columns>
        </asp:GridView>
<div class="page-fenye">
<webdiyer:AspNetPager id="AspNetPager1" HorizontalAlign="Center" Font-Bold="true" runat="server" Width="100%" CenterCurrentPageButton="True"
OnPageChanging="AspNetPager1_PageChanging" ShowPageIndexBox="Always"
FirstPageText="首页" PrevPageText="上一页" NextPageText="下一页" LastPageText="尾页" 
PageIndexBoxType="TextBox"  CurrentPageButtonTextFormatString="{0:[0]}" 
AlwaysShow="True" ShowNavigationToolTip="True" PageSize="15"
CustomInfoHTML="记录总数：%RecordCount%" CustomInfoSectionWidth="200px" 
ShowCustomInfoSection="Left"   CustomInfoStyle="text-valign:middle;margin-right:0px;" CustomInfoClass="bluelk">
</webdiyer:AspNetPager>
</div>
        </div>
    </div> 
    </form>
</body>
</html>

