📄 forumlist.aspx
字号:
<%@ Page language="c#" Codebehind="ForumList.aspx.cs" AutoEventWireup="false" Inherits="SampleForum.Forum.ForumList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>ForumList</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">
<link href="../Forum.css" rel="stylesheet" type="text/css">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
主题回复:<A href="..\InitList.aspx">返回</A>
<hr>
<asp:repeater id="repForum" runat="server">
<HeaderTemplate>
回复的主题和发布者:
</HeaderTemplate>
<ItemTemplate>
<Table border="1" width="100%" cellpadding="1" cellspacing="0">
<Tr>
<Td bgcolor =#9999cc>标题:<%#DataBinder.Eval(Container.DataItem,"fchrForumCaption")%>
</Td>
<Td bgcolor =#9999cc>发布者:<%#DataBinder.Eval(Container.DataItem,"fchrOperatorName")%>
</Td>
<Td bgcolor =#9999cc>发布时间:<%#DataBinder.Eval(Container.DataItem,"fdtmDate")%>
</Td>
</Tr>
<Tr>
<Td colspan="3" bgcolor =#ffcc99>发布内容:<br>
<%#DataBinder.Eval(Container.DataItem,"fchrForumDetail")%>
</Td>
</Tr>
</Table>
</ItemTemplate>
<SeparatorTemplate>
<hr color=#ffcc99>
</SeparatorTemplate>
<FooterTemplate>
有问题联系版主<A href="mailto:liangjian@ufsoft.com.cn">邮箱</A>
</FooterTemplate>
</asp:repeater>
<hr>
回复内容如下:
<TABLE border="1" width="100%" cellpadding="1" cellspacing="0">
<Tr>
<Td bgcolor=#9999cc>
<asp:Label id="labFormCaption" runat="server" Width="112px" Height="24px">标题:</asp:Label>
</Td>
<Td color=#ffcc99>
<asp:TextBox id="txtCaption" runat="server" Width="240px"></asp:TextBox>
</Td>
</Tr>
<Tr>
<Td bgcolor=#9999cc>
<asp:Label id="labForumDesc" runat="server" Width="136px" Height="24px">内容:</asp:Label>
</Td>
<Td color=#ffcc99>
<asp:TextBox id="txtDetail" runat="server" Width="240px" Height="208px" TextMode="MultiLine"></asp:TextBox>
</Td>
</Tr>
<Tr>
<Td>
<asp:Button id="btnOK" Width="96px" Height="32px" Text="发布回复" Runat="server" OnClick="AddNewForum"></asp:Button>
</Td>
<Td>
<asp:Button id="btnCancel" runat="server" Width="96px" Height="32px" Text="取消"></asp:Button>
</Td>
</Tr>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -