📄 leaveword.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="leaveword.aspx.cs" Inherits="_Default" %>
<!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 style="background-image: url(image/back.jpg)">
<form id="form1" runat="server">
<div>
<table style="width: 691px; background-color: #999933;">
<tr>
<td style="width: 100px; height: 306px">
<table width="100%">
<tr>
<td style="width: 848px">
<asp:DataList ID="DataList1" runat="server" Width="560px">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="border-top: #e8e8e8 1px solid;
left: 1px; width: 550px; position: relative; top: 0px; height: 28px">
<tr>
<td style="background-image: url(images/showbj.gif); width: 39px; height: 27px; border-left: #e8e8e8 1px solid;">
<img alt="a" src="images/001.gif" style="position: relative" /></td>
<td style="background-image: url(images/showbj.gif); width: 470px; height: 27px;">
</td>
<td style="background-image: url(images/showbj.gif); height: 27px; border-right: #e8e8e8 1px solid;">
<img alt="a" src="images/002.gif" style="position: relative" /></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="left: 1px; width: 550px;
position: relative; top: 0px; border-right: #e8e8e8 1px solid; border-left: #e8e8e8 1px solid;">
<tr>
<td style="width: 111px; border-right: #e8e8e8 1px solid;">
<div style="width: 100px; position: relative; height: 100px">
<img alt="a" style="position: relative" src='images/face/<%#DataBinder.Eval(Container.DataItem,"image")%>' /></div>
<asp:Label ID="lblUserPic" runat="server" Style="position: relative" Text=<%#DataBinder.Eval(Container.DataItem,"姓名") %>></asp:Label></td>
<td style="width: 431px; border-bottom: #e8e8e8 1px solid; height: 121px">
<div style="left: 2px; width: 406px; position: relative; top: 5px; height: 22px;
text-align: left">
<a href="<%#DataBinder.Eval(Container.DataItem,"emali") %>" ><img alt="a" src="images/mail.gif" style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /></a>Email<a href="<%#DataBinder.Eval(Container.DataItem,"QQ") %>" ><img alt="a" src="images/qq.gif"
style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /></a>QQ<a href="<%#DataBinder.Eval(Container.DataItem,"url") %>" ><img alt="a" src="images/home.gif" style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /></a>主页<img alt="a"
src="images/posttime.gif" style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" />发布时间:<%#DataBinder.Eval(Container.DataItem,"时间","{0:D}") %></div>
<div style="left: 2px; width: 405px; position: relative; top: 8px; height: 59px;
text-align: left">
<%#DataBinder.Eval(Container.DataItem,"内容") %>
<br />——————————————————<br />
管理员回复:<%#DataBinder.Eval(Container.DataItem,"回复") %>
</div>
<div style="left: 2px; width: 407px; position: relative; top: 12px; height: 25px;
text-align: right">
<a href="~/reply.aspx?id=<%#DataBinder.Eval(Container.DataItem,"id") %>"></a>
<img src="images/004.gif" style="position: relative" />
<asp:LinkButton ID="lbtnReply" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"id")%>'
Style="position: relative" OnCommand="lbtnReply_Command" >回复</asp:LinkButton>
</div>
</td>
</tr>
<tr>
<td style="width: 111px; border-right: #e8e8e8 1px solid;">
</td>
<td style="width: 431px">
</td>
</tr>
</table>
<table border="0" cellspacing="0" style="border-top: #e8e8e8 1px solid; left: 1px;
width: 550px; position: relative; top: 0px; height: 28px">
<tr>
<td style="background-image: url(images/showbj.gif); width: 114px; border-left: #e8e8e8 1px solid;">
<img alt="a" src="images/003.gif" style="position: relative" /></td>
<td style="background-image: url(images/showbj.gif); width: 1537px">
</td>
<td style="background-image: url(images/showbj.gif); width: 133px; border-right: #e8e8e8 1px solid;">
<img alt="a" src="images/001.gif" style="position: relative" /></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td></tr>
<tr>
<td style="width: 848px">
共<asp:Label ID="lblMesTotal" runat="server" Style="position: relative" Text="Label"></asp:Label>条留言
第<asp:Label ID="lblPageCur" runat="server" Style="position: relative" Text="Label"></asp:Label>页
共<asp:Label ID="lblPageTotal" runat="server" Style="position: relative" Text="Label"></asp:Label>页
<asp:Button ID="Button3" runat="server" Style="position: relative" Text="上一页" OnClick="Button3_Click" />
<asp:Button ID="Button4" runat="server" Style="position: relative" Text="下一页" OnClick="Button4_Click" />
<asp:Button ID="Button5" runat="server" Style="position: relative" Text="首页" OnClick="Button5_Click" />
<asp:Button ID="Button6" runat="server" Style="position: relative" Text="尾页" OnClick="Button6_Click" />
转到<asp:DropDownList ID="DropDownList1" runat="server" Style="position: relative; left: 0px;">
</asp:DropDownList>
<asp:Button ID="Button7" runat="server" Style="position: relative" Text="GO" OnClick="Button7_Click" />
</td>
</tr>
</table>
<asp:Button ID="Button8" runat="server" ForeColor="Blue" PostBackUrl="~/index.aspx"
Text="返回主页" /></td>
</tr>
<tr>
<td style="width: 100px; height: 438px">
<table border="0" cellpadding="0" cellspacing="0" style="position: relative;
height: 100%; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; left: 0px; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid; top: 0px; width:560px;">
<tr>
<td style="width: 247px; text-align: right">
用户名:</td>
<td style="text-align: left; width: 570px;">
<asp:TextBox ID="txtUserName" runat="server" Style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 247px; text-align: right">
个人主页:</td>
<td style="text-align: left; width: 570px;">
<asp:TextBox ID="txtUrl" runat="server" Style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 247px; text-align: right; height: 24px;">
来自:</td>
<td style="text-align: left; height: 24px; width: 570px;">
<asp:DropDownList ID="ddlFrom" runat="server" Style="position: relative">
<asp:ListItem>福建</asp:ListItem>
<asp:ListItem>北京</asp:ListItem>
<asp:ListItem>重庆</asp:ListItem>
<asp:ListItem>四川</asp:ListItem>
<asp:ListItem>广西</asp:ListItem>
<asp:ListItem>江西</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 247px; text-align: right">
性别:</td>
<td style="text-align: left; width: 570px;">
<asp:RadioButton ID="rbtnNv" runat="server"
Checked="True" GroupName="sex" Style="position: relative" Text="女" />
<asp:RadioButton ID="rbtnNan" runat="server"
GroupName="sex" Style="position: relative" Text="男" /></td>
</tr>
<tr>
<td style="width: 247px; text-align: right; height: 30px;">
Email:</td>
<td style="text-align: left; height: 30px; width: 570px;">
<asp:TextBox ID="txtEmail" runat="server" Style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 247px; height: 15px; text-align: right">
QQ:</td>
<td style="height: 15px; text-align: left; width: 570px;">
<asp:TextBox ID="txtQq" runat="server" Style="position: relative"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 247px; height: 15px; text-align: right">
头像:</td>
<td style="height: 15px; text-align: left; width: 570px;">
<asp:DropDownList ID="ddlPic" runat="server" Style="position: relative" AutoPostBack="True" >
</asp:DropDownList>
<asp:Image ID="Image1" runat="server" Style="position: relative" Width="37px" /></td>
</tr>
<tr>
<td style="width: 247px; text-align: right" valign="top">
留言内容:</td>
<td style="text-align: left; width: 570px;">
<asp:TextBox ID="txtContent" runat="server" Height="140px" Style="position: relative"
TextMode="MultiLine" Width="380px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 247px; height: 15px; text-align: right" valign="top">
</td>
<td style="height: 15px; text-align: left; width: 570px;">
<asp:Button ID="Button1" runat="server" Style="position: relative" Text="提交" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Style="position: relative" Text="清空" OnClick="Button2_Click" />
<asp:Label ID="Label2" runat="server"></asp:Label></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -