<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmployeeManage.aspx.cs" Inherits="SystemManage_EmployeeManage" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
     <table>
    <tr>
     <td align="left" style="font-size: 12px; width: 520px; color: red; height: 16px">系统设置→员工管理</td>
     </tr>
    </table><asp:Button ID="Button1" runat="server" Text="添加新员工" OnClick="Button1_Click" />
    <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" Width="522px" PageSize="5" PagerSettings-FirstPageText="首页" PagerSettings-Mode="NextPreviousFirstLast" PagerSettings-LastPageText="尾页" PagerSettings-NextPageText="下一页" PagerSettings-PreviousPageText="上一页" Font-Size="12px" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting">
        <RowStyle BackColor="White" ForeColor="#003399" />
        <Columns>
            <asp:BoundField DataField="NAME" HeaderText="员工姓名" />
            <asp:BoundField DataField="TEL" HeaderText="固定电话" />
            <asp:BoundField DataField="MOBILE" HeaderText="手机" />
            <asp:BoundField DataField="ADDRESS" HeaderText="住址" />
            <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
        </Columns>
        <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast" NextPageText="下一页" PreviousPageText="上一页" />
        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
        <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
        <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
        <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
    </asp:GridView>
    </div>
    </form>
</body>
</html>
