<%@ page language="C#" autoeventwireup="true" inherits="gangwei, zhifakaohe_deploy" %>

<!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></title>
    <style type="text/css">

.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
        
        a:link                       {font-size: 9pt;color: #2F6589; text-decoration: none;}
         .style7
         {
             color: #03515d;
             font-size: 12px;
             width: 373px;
         }
    </style>
    <link href="../css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td background="../images/tab_05.gif" height="30">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td height="30" width="12">
                                <img height="30" src="../images/tab_03.gif" width="12" /></td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td valign="middle" width="46%">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td width="5%">
                                                        <div align="center">
                                                            <img height="16" src="../images/tb.gif" width="16" /></div>
                                                    </td>
                                                    <td class="STYLE1" width="95%">
                                                        &nbsp;</td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="54%">
                                            <table align="right" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td class="STYLE1" width="60">
                                                        <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" 
                                                            oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
                                                    </td>
                                                    <td width="60">
                                                        <table border="0" cellpadding="0" cellspacing="0" width="87%">
                                                            <tr>
                                                                <td class="STYLE1">
                                                                    <div align="center">
                                                                        <table border="0" cellpadding="0" cellspacing="0" width="90%">
                                                                            <tr>
                                                                                <td class="STYLE1">
                                                                                    <div align="center">
                                                                                        <img height="14" src="../images/22.gif" width="14" /></div>
                                                                                </td>
                                                                                <td class="STYLE1">
                                                                                    <div align="center">
                                                                                        <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">新增</asp:LinkButton>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                    <td width="52">
                                                        <table border="0" cellpadding="0" cellspacing="0" width="88%">
                                                            <tr>
                                                                <td class="STYLE1">
                                                                    <div align="center">
                                                                        <img height="14" src="../images/11.gif" width="14" /></div>
                                                                </td>
                                                                <td class="STYLE1">
                                                                    <div align="center">
                                                                        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16">
                                <img height="30" src="../images/tab_07.gif" width="16" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td background="../images/tab_12.gif" width="8">&nbsp;
                                </td>
                            <td>
                                <div>
                                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                        AutoGenerateColumns="False" CssClass="GridViewStyle" 
                                        EmptyDataText="没有或没有符合条件的衔级信息！" Font-Size="Small" 
                                        OnRowDeleting="GridView1_RowDeleting" PageSize="2" Width="100%">
                                        <Columns>
                                            <asp:TemplateField>
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="id" HeaderText="ID" InsertVisible="False" 
                                                ReadOnly="True" />
                                            <asp:BoundField DataField="bianhao" HeaderText="编号" />
                                            <asp:BoundField DataField="gangwei" HeaderText="衔级名称" />
                                            <asp:TemplateField>
                                                <ItemTemplate>
                                                    <a href='gangweiedit.aspx?id=<%# Eval("id") %>'>编辑</a>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:CommandField HeaderText="操作" ShowDeleteButton="True" ShowHeader="True"  DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除衔级吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; "/>
                                        </Columns>
                                        <HeaderStyle CssClass="HeaderStyle" />
                                        <PagerStyle CssClass="PagerStyle" />
                                        <RowStyle CssClass="RowStyle" />
                                        <PagerSettings Visible="false" />
                                    </asp:GridView>
                                </div>
                            </td>
                            <td background="../images/tab_15.gif" width="8">&nbsp;
                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td background="../images/tab_19.gif" height="35">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td height="35" width="12">
                                <img height="35" src="../images/tab_18.gif" width="12" /></td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="style7">
                                            &nbsp;&nbsp;<asp:Label ID="LblRecordCount" runat="server"></asp:Label>
                                            <span lang="zh-cn">每页<asp:DropDownList ID="pgsize" runat="server" 
                                                AutoPostBack="True" onselectedindexchanged="pgsize_SelectedIndexChanged">
                                                <asp:ListItem>10</asp:ListItem>
                                                <asp:ListItem>15</asp:ListItem>
                                                <asp:ListItem Selected="True">20</asp:ListItem>
                                                <asp:ListItem>30</asp:ListItem>
                                                <asp:ListItem>40</asp:ListItem>
                                                <asp:ListItem>50</asp:ListItem>
                                                <asp:ListItem>100</asp:ListItem>
                                                <asp:ListItem>150</asp:ListItem>
                                                <asp:ListItem>200</asp:ListItem>
                                                <asp:ListItem>300</asp:ListItem>
                                                <asp:ListItem>400</asp:ListItem>
                                                <asp:ListItem>500</asp:ListItem>
                                            </asp:DropDownList>
                                            条，</span><asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
                                            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
                                        </td>
                                        <td class="STYLE4">
                                            <asp:LinkButton ID="btnFirst" runat="server" CommandArgument="first" 
                                                OnClick="PagerButtonClick">首 页</asp:LinkButton>
                                            &nbsp;<asp:LinkButton ID="btnPrev" runat="server" CommandArgument="prev" 
                                                OnClick="PagerButtonClick">上一页</asp:LinkButton>
                                            <asp:LinkButton ID="btnNext" runat="server" CommandArgument="next" 
                                                OnClick="PagerButtonClick">下一页</asp:LinkButton>
                                            <asp:LinkButton ID="btnLast" runat="server" CommandArgument="last" 
                                                OnClick="PagerButtonClick">尾 页</asp:LinkButton>
                                            跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" 
                                                OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            页</td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16">
                                <img height="35" src="../images/tab_20.gif" width="16" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
