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

📄 moduleinfo.aspx

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

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

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

<!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;<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 />
                    <uc3:BBSMenu ID="BBSMenu1" runat="server" />
                </td>
                <td style="width: 579px; text-align: center; background-image: url(../../Image/背景.jpg); vertical-align: top; height: 363px;">
                    <asp:Label id="Label1" runat="server" Text="管理模块" Font-Size="9pt" ForeColor="Red"></asp:Label>
                    <asp:GridView ID="gvModuleInfo" runat="server" AllowPaging="True" CellPadding="3"
                        GridLines="Horizontal" Width="570px" BorderColor="#E7E7FF" BorderStyle="None" HorizontalAlign="Center" OnRowDeleting="gvModuleInfo_RowDeleting" AutoGenerateColumns="False" Font-Size="9pt" OnRowDataBound="gvModuleInfo_RowDataBound" OnPageIndexChanging="gvModuleInfo_PageIndexChanging" PageSize="5" BackColor="White" BorderWidth="1px">
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                        <Columns>
                        <asp:BoundField DataField="ModuleID" HeaderText="模块ID" >
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ModuleName" HeaderText="模块标题">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ModuleDate" HeaderText="模块创建日期">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                         <asp:HyperLinkField DataNavigateUrlFields="ModuleID" DataNavigateUrlFormatString="ManageModule.aspx?ModuleID={0}"
                                HeaderText="修改" Text="修改" >
                             <ControlStyle Font-Underline="False" />
                             <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                         </asp:HyperLinkField>
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" >
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                <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" Font-Size="9pt" OnClick="btnAdd_Click" Text="添加模块" /></td>
            </tr>
        </table>
         <table style="width: 755px" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 755px; height: 74px;">
                                <uc2:BBSFooter ID="BBSFooter1" runat="server" />
                            </td>
                        </tr>
                    </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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