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

📄 smallpaper.aspx

📁 asp.net 商业2.0论坛对理解论坛的制作很用帮助
💻 ASPX
字号:
<%@ Register TagPrefix="Forum" TagName="Top" Src="_Top.ascx" %>
<%@ Register TagPrefix="Forum" TagName="Bt" Src="_Bt.ascx" %>
<%@ Page Language="c#" AutoEventWireup="false" Codebehind="Smallpaper.aspx.cs" Inherits="Forum.Smallpaper" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>
			<%=Title%>
		</title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta content="Microsoft Visual Studio .NET 7.0" name="GENERATOR">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="Forum.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body topMargin="0">
		<form id="Form1" method="post" runat="server">
			<FORUM:TOP id="Top" Runat="server"></FORUM:TOP>
			<table cellSpacing="1" cellPadding="4" width="97%" align="center">
				<tr>
					<td><asp:label id="Path" runat="server"></asp:label></td>
					<td align="right"><asp:label id="TopicWithMe" runat="server"></asp:label></td>
				</tr>
			</table>
			<asp:table id="Table1" runat="server" CellPadding="4" CellSpacing="1" Width="97%" HorizontalAlign="Center">
				<asp:TableRow AccessKey="H">
					<asp:TableCell ColumnSpan="2">发言</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell>主题标题:</asp:TableCell>
					<asp:TableCell>
						<asp:TextBox id="sTitle" runat="server" Columns="60" MaxLength="50"></asp:TextBox>
						<asp:RequiredFieldValidator id="Requiredfieldvalidator1" runat="server" ErrorMessage="主题标题不能为空" Display="None" ControlToValidate="sTitle"></asp:RequiredFieldValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell>
						内 容:
					</asp:TableCell>
					<asp:TableCell>
						<asp:TextBox id="sBody" runat="server" TextMode="MultiLine" Rows="12" Columns="80"></asp:TextBox>
						<asp:CustomValidator id="CustomValidator1" ControlToValidate="sBody" OnServerValidate="ServerValidation" Display="None" ErrorMessage="内容不得超过500字" runat="server"></asp:CustomValidator>
						<asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" DisplayMode="List" ShowSummary="False"></asp:validationsummary>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top"></asp:TableCell>
					<asp:TableCell>
						<asp:Button id="Save" Text="发  布" Runat="server" OnClick="Save_Click"></asp:Button> <b>
							48</b>小时内发表的小字报将随机抽取<b>5</b>条滚动显示于论坛上,内容不得超过500字
					</asp:TableCell>
				</asp:TableRow>
			</asp:table><asp:table id="Table2" runat="server" CellPadding="4" CellSpacing="1" Width="97%" HorizontalAlign="Center" Visible="False">
				<asp:TableRow AccessKey="H">
					<asp:TableCell>操作信息</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell>
						<asp:Label ID="Info" Runat="server"></asp:Label>
					</asp:TableCell>
				</asp:TableRow>
			</asp:table><FORUM:BT id="Bt" Runat="server"></FORUM:BT></form>
	</body>
</HTML>

⌨️ 快捷键说明

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