forum2.aspx
资源名称:Visual.rar [点击查看]
上传用户:yiyuerguo
上传日期:2014-09-27
资源大小:3781k
文件大小:4k
源码类别:
C#编程
开发平台:
Others
- <%@ Page language="c#" Codebehind="forum2.aspx.cs" AutoEventWireup="false" Inherits="mbord5.forum2" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>WebForm1</title>
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- </HEAD>
- <body MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <asp:label id="errmess" style="Z-INDEX: 101; LEFT: 48px; COLOR: #ff0000; POSITION: absolute; TOP: 344px"
- runat="server" text=""></asp:label>
- <!-- 设置 DataGrid --><asp:datagrid id="DataGrid1" runat="server" PagerStyle-Mode="NumericPages" Headerstyle-BackColor="#AAAADD"
- AlternatingItemStyle-BackColor="#FFFFCD" AllowPaging="True" Width="440px" Font-Name="Verdana" Font-Size="8pt" autogeneratecolumns="False"
- BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" GridLines="Horizontal"
- Font-Names="Verdana" Height="296px" PageSize="3" ShowFooter="True">
- <SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
- <AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
- <ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
- <HeaderStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#4A3C8C"></HeaderStyle>
- <FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
- <Columns>
- <asp:HyperLinkColumn DataNavigateUrlField="postid" DataNavigateUrlFormatString="reply2.aspx?postid={0}"
- DataTextField="subject" HeaderText="标题"></asp:HyperLinkColumn>
- <asp:BoundColumn DataField="name" HeaderText="作者">
- <ItemStyle Width="10%"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="replies" HeaderText="回复">
- <ItemStyle Width="30%"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="views" HeaderText="点击次数">
- <ItemStyle Width="15%"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="date" HeaderText="发表日期">
- <ItemStyle Width="25%"></ItemStyle>
- </asp:BoundColumn>
- </Columns>
- <PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
- </asp:datagrid><asp:label class="fodark" id="Label1" style="Z-INDEX: 102; LEFT: 72px; POSITION: absolute; TOP: 0px"
- runat="server" text="<font color=#00000 >欢迎访问本站讨论区,您可以发表您的看法!</font>" NAME="Label1"></asp:label><asp:label class="fodark" id="Label2" style="Z-INDEX: 103; LEFT: 184px; POSITION: absolute; TOP: 344px"
- runat="server" text="<font color=#00000 >发表留言</font>" NAME="Label2" Height="10px"></asp:label>
- <TABLE id="Table1" style="Z-INDEX: 104; LEFT: 8px; WIDTH: 441px; POSITION: absolute; TOP: 384px; HEIGHT: 382px"
- borderColor="#ffffff" width="441" align="center" bgColor="#bec9e4" border="0">
- <TR>
- <TD class="fohead" bgColor="#9999ff" colSpan="2"><FONT color="#ffffff" size="2">留言板</FONT></TD>
- </TR>
- <TR class="folight">
- <TD><FONT size="2">名称 :</FONT></TD>
- <TD><asp:textbox id="name" runat="server"></asp:textbox> <FONT color="#ff0000">*</FONT>
- </TD>
- </TR>
- <TR class="folight">
- <TD><FONT size="2">E-Mail :</FONT></TD>
- <TD><asp:textbox id="email" runat="server"></asp:textbox> <FONT color="#ff0000">*</FONT>
-
- </TD>
- </TR>
- <TR class="folight">
- <TD><FONT size="2">标题:</FONT></TD>
- <TD><asp:textbox id="subject" runat="server" width="200"></asp:textbox> <FONT color="#ff0000">*</FONT>
- </TD>
- </TR>
- <TR class="folight">
- <TD><FONT size="2">内容:</FONT></TD>
- <TD><asp:textbox id="message" runat="server" Columns="30" Rows="15" TextMode="MultiLine"></asp:textbox></TD>
- </TR>
- <TR class="folight">
- <TD colSpan="2">
- <asp:Button id="Button1" runat="server" Text="提交"></asp:Button></TD>
- </TR>
- </TABLE>
- </form>
- </body>
- </HTML>