温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:51aspx修正版简单三层留言板源码
当前文件:
LeaveMessageMVC/WriteBack.aspx,打开代码结构图
LeaveMessageMVC/WriteBack.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" Inherits="Default2" Codebehind="WriteBack.aspx.cs" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>无标题页</title> 8
</head> 9
<body> 10
<form id="form1" runat="server"> 11
<div> 12
<table id="wbt" border="1" style="width: 500px; "> 13
<tr> 14
<td style="width: 100%; height:25px"> 15
留言作者:<asp:Label ID="LMOwner" runat="server" Text="OwnerName" Height="21px" Width="100px"></asp:Label> 16
<asp:Label ID="LMSubmittime" runat="server" Text="Datetime" Height="18px" Width="180px" Font-Size="Smaller" Font-Italic="True" ForeColor="DarkGray"></asp:Label></td> 17
</tr> 18
<tr> 19
<td style="width: 100%; font-size:small; color: background; vertical-align: text-top; text-align: left; padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px;"> 20
<asp:Label ID="LMContents" runat="server" Text="Label" Height="100%" Width="100%" style="word-break : break-all;"></asp:Label></td> 21
</tr> 22
<tr> 23
<td style="width: 100%; height:25px"> 24
您的用户名:<asp:TextBox ID="YourName" runat="server" Height="21px" Width="200px"></asp:TextBox><span></span><%--<asp:Label ID="YourName" runat="server" Text="Yourname" Height="21px" Width="200px"></asp:Label>--%> 25
26
<span style="color: #ff0033">*</span> 27
</tr> 28
<tr> 29
<td style="width: 100%; height:25px"> 30
QQ/MSN:<span><asp:TextBox ID="YourQQMSN" runat="server" Height="21px" Width="200px"></asp:TextBox></span> 31
<span style="font-size: 10pt; color: appworkspace">(可选)</span> 32
</tr> 33
<tr> 34
<td style="width: 100%; height:100px"> 35
回复信息:<span style="font-size:small; color:Gray">(按 Ctrl+Enter 提交)</span><br /> 36
<asp:TextBox ID="WBContent" runat="server" Height="80px" TextMode="MultiLine" Width="390px"></asp:TextBox></td> 37
</tr> 38
<tr> 39
<td style="width: 100%; height:30px; text-align: center;"> 40
<asp:Button ID="WBB" runat="server" Width="80px" Text="回复" OnClick="Submit_Click" /> 41
42
<asp:Button ID="Back" runat="server" Width="80px" Text="回到主页" OnClick="Back_Click" /> 43
</td> 44
</tr> 45
</table> 46
</div> 47
</form> 48
</body> 49
</html> 50



