⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinfo.aspx

📁 一个bbs论坛代码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserInfo.aspx.cs" Inherits="BackDesk_ManageUser_UserInfo" %>

<%@ Register Src="BBSFooter.ascx" TagName="BBSFooter" TagPrefix="uc3" %>

<%@ Register Src="BBSHeader.ascx" TagName="BBSHeader" TagPrefix="uc1" %>
<%@ Register Src="../../UserControl/BBSMenu.ascx" TagName="BBSMenu" TagPrefix="uc2" %>

<!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>
    <table style="width: 755px; height: 138px;" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 755px; height: 138px;">
                                <uc1:BBSHeader ID="BBSHeader1" runat="server" />
                            </td>
                        </tr>
                    </table>
     <table style="width: 755px" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 176px; text-align: left; background-image: url(../../Image/左1.jpg);">
                                &nbsp;&nbsp;
                                <asp:Label ID="Label2" runat="server" Font-Size="9pt" Text="欢迎您," Width="50px"></asp:Label><asp:Label
                                    ID="labUserName" runat="server" Font-Size="9pt" Width="74px"></asp:Label>
                            </td>
                            <td style="width: 579px; text-align: left; background-image: url(../../Image/背景.jpg);">
                            </td>
                        </tr>
                    </table>
    <table style="width: 755px; " align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td style="vertical-align: top; width: 176px; text-align: center; background-image: url(../../Image/左4.jpg); height: 363px;">
                    <br />
                    <uc2:BBSMenu ID="BBSMenu1" runat="server" />
                </td>
                <td style="width: 579px; text-align: center; background-image: url(../../Image/背景.jpg); vertical-align: top; height: 363px;" align="center">
                    <asp:Label id="Label1" runat="server" Text="管理用户" Font-Size="9pt" ForeColor="Red"></asp:Label>
                    <asp:GridView ID="gvUserInfo" runat="server" AllowPaging="True" CellPadding="3"
                        GridLines="Horizontal" OnPageIndexChanging="gvUserInfo_PageIndexChanging"
                        OnRowDataBound="gvUserInfo_RowDataBound" OnRowDeleting="gvUserInfo_RowDeleting"
                        PageSize="5" Width="570px" AutoGenerateColumns="False" BorderColor="#E7E7FF" BorderStyle="None" Font-Size="9pt" HorizontalAlign="Center" BackColor="White" BorderWidth="1px" >
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                        <Columns >
                            <asp:BoundField ApplyFormatInEditMode="True" DataField="UserID" HeaderText="用户ID">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserLoginName" HeaderText="用户登录名">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserSex" HeaderText="性别">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserTel" HeaderText="电话">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserEmail" HeaderText="E-mail">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserAddress" HeaderText="地址">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserPostCode" HeaderText="邮编">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
                                <ItemStyle HorizontalAlign="Center" />
                                <ControlStyle Font-Underline="False" />
                            </asp:CommandField>
                        </Columns>
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                    </asp:GridView>
                    &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:Button ID="btnAdd" runat="server" Text="添加用户" Font-Size="9pt" OnClick="btnAdd_Click" /></td>
               
            </tr>
        </table> 
        <table style="width: 755px" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 755px; height: 74px;">
                                <uc3:BBSFooter ID="BBSFooter1" runat="server" />
                            </td>
                        </tr>
                    </table>
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -