<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Userjbmanage.aspx.cs" Inherits="Mvcb2b.admin.Userjbmanage" Title="用户管理" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="../Comja/val_num.js"></script>
   
<div class="path">当前位置： 用户管理 >>  用户级别</div>
<h3>用户级别</h3>
        <asp:GridView ID="GridView1"  HorizontalAlign="Center" Width="98%" EnableViewState="False" 
                                runat="server" AllowPaging="True" AutoGenerateColumns="False" 
                                OnPageIndexChanging="haopage" AllowSorting="True" OnRowDeleting="Haodel" 
                                OnRowEditing="haoedit" GridLines="None" DataKeyNames="id" CellPadding="4" 
                                ForeColor="#333333" >
                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" HorizontalAlign="Center" />
                <Columns >
                <asp:BoundField DataField="id" HeaderText="编号" SortExpression="id" />
                <asp:BoundField DataField="jbname" HeaderText="用户级别" />
                    <asp:CommandField HeaderText="编辑" ShowEditButton="True" ShowHeader="True" 
                        UpdateText="edit" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True"  ShowHeader="True" 
                        DeleteText="&lt;div onclick=&quot;return confirm('确实要删除吗?');&quot;&gt;删除&lt;/div&gt;" />
            </Columns>        
                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
        </asp:GridView>  
        <div class="pagemsg"><asp:label id="Message" runat="server" ></asp:label>
				 &nbsp; 直接进入 <asp:textbox  id="gopage" Width="30px" runat="server" > </asp:textbox> 
            页 <asp:button id ="Submithao"  Text="Go" runat="server" OnClick="Submithao_Click"></asp:button>  </div>
				 <br />
				 <br />
	<table border="0" class="tableadd2"  align="center" >
    <tr>
        <td colspan="2" valign="middle" style="text-align:center;"><Label ID="Label1" runat="server">
            添加管理级别</Label><Label ID="Label2" runat="server" >级别修改</Label></td>
    </tr>
     <tr>
        <td align="right" style="width: 150px">级别名称：</td><td><asp:TextBox ID="jbname_txt" runat="server"  Width="160px" ></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="级别名称不能为空" Display="None" ControlToValidate="jbname_txt"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td  style="width: 150px">用户角色授权以下权限：</td><td></td></tr>
    <tr>
        <td  colspan="2">
        <table id="Table3" cellspacing="0" cellpadding="0" width="98%" align="center" border="0">
								<tr>
									<td><asp:checkbox id="haoadd_txt" runat="server"  Text="添加权"></asp:checkbox></td>
									<td><asp:checkbox id="haoedit_txt" runat="server"  Text="修改权"></asp:checkbox></td>
									<td><asp:checkbox id="haodel_txt" runat="server"  Text="删除权"></asp:checkbox></td>									
							  </tr>
								<tr>
									<td><asp:checkbox id="haomove_txt" runat="server"  Text="转交权"></asp:checkbox></td>
									<td><asp:checkbox id="haofp_txt" runat="server"  Text="分配权"></asp:checkbox></td>
									<td><asp:checkbox id="ismanage_txt" runat="server"  Text="组设置权"></asp:checkbox></td>
							  </tr>
							  <tr>
									<td><asp:checkbox id="delmanage_txt" runat="server"  Text="组管理权"></asp:checkbox></td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
							  </tr></table>        
        
     </td>
    </tr>
    <tr>
        <td  colspan="2"  style="text-align:center;">
            <asp:Button ID="Add" runat="server" Text="添加"  Width="80px" OnClick="Add_Click"></asp:Button>
            <asp:Button ID="Edit" runat="server"  Text="修改" Width="80px" onclick="Edit_Click"   /> 	  
            <asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>  
        </td>
    </tr>
</table>
</asp:Content>
