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

<!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>    
          <asp:FormView ID="FormView1" runat="server" 
            onpageindexchanging="FormView1_PageIndexChanging" CellPadding="4" 
            ForeColor="#333333" Width="252px">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" />
            <ItemTemplate>
                <table  style="width:100%">
                    <tr>
                        <td>
                            用户编号：</td>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("AdminID") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            用户名：</td>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("AdminName") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            性别：</td>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("sex") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            所属部门：</td>
                        <td>
                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("department") %>'></asp:Label></td>
                    </tr>
                </table>
            </ItemTemplate>
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <HeaderTemplate>用户基本信息</HeaderTemplate>
          </asp:FormView>    
       </div></form>
     </body>
</html>
