?? lmlistforpublic.aspx
字號:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="LMListForPublic" Codebehind="LMListForPublic.aspx.cs" %>
<!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 id="Head1" runat="server">
<title>瀏覽所有留言信息</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<span style="font-size: 16pt"><strong>
顯示所有留言<br />
</strong></span>
<a href="index.aspx">回到主頁</a>
<br />
<br />
<asp:GridView ID="LMGridView" runat="server" AutoGenerateColumns="false" ShowHeader="false" GridLines="none" Width="700px" OnRowCommand="LMGridView_RowCommand">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<th style="text-align:left; border-right:0px; width:70%">
<span><%--調用JavaScript實現記錄樓數--%>
<%--<script type="text/javascript" src="JS/ShowFloorAtLMBox.js"></script>--%>
</span>
<!--主題:--><%# TitleAndFloor(Convert.ToString(DataBinder.Eval(Container.DataItem,"Title"))) %></th>
<td align="right" style="border-left:0px; width:30%"><asp:Button ID="wb" runat="server" CommandName=<%# DataBinder.Eval(Container.DataItem,"ID") %> Text="回復"/> | <a href="#IwantToSay">滾動到最下</a> | <a href="#" onclick="javascript:scroll(0,0);">Top</a> </td>
</tr>
<tr>
<td style="font-size:smaller" colspan="2">
作者:<%# DataBinder.Eval(Container.DataItem,"User") %>
QQ/MSN:<%# DataBinder.Eval(Container.DataItem,"QQMSN") %>
<font color="gray"><%# DataBinder.Eval(Container.DataItem,"SubmitTime") %></font>
</td>
</tr>
<tr>
<td colspan="2">
<div style="margin-left:4px; margin-right:4px; margin-top:2px; margin-bottom:2px">
<asp:Label ID="LContents" runat="server" Width="100%" Text=<%# DataBinder.Eval(Container.DataItem,"Contents") %> style="word-break:break-all" />
<br />
<hr />
<div style=" margin-left:2px; margin-right:2px; color:Gray; font-size:smaller">
<asp:Label ID="LWriteBack" runat="server" Width="100%" Text=<%# DataBinder.Eval(Container.DataItem,"WriteBack") %> style="word-break:break-all" />
</div>
</div>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="PageNumber" runat="server" Text="1"></asp:Label>
<asp:LinkButton ID="Prev" runat="server" Enabled="False" OnClick="Prev_Click">上一頁</asp:LinkButton>
<asp:LinkButton ID="Next" runat="server" OnClick="Next_Click">下一頁</asp:LinkButton>
<br />
<table id="lmt" border="1" style="width: 700px; height: 180px">
<tr>
<td style="width: 100%; height:25px">
用戶名:<asp:TextBox ID="TBuser" runat="server" Height="21px" Width="150px"></asp:TextBox> <span
style="color: #ff0033">*</span>
QQ / MSN:<asp:TextBox ID="TBQQMSN" runat="server" Height="21px" Width="150px"></asp:TextBox>
<span style="color: #ff0033">*</span></td>
</tr>
<tr>
<td style="width: 100%; height:25px">
留言標題:<asp:TextBox ID="TBtitle" runat="server" Height="21px" Width="412px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100%; height:100px">
留言信息:<span style="font-size:small; color:Gray">(按 Ctrl+Enter 提交)</span><br />
<asp:TextBox ID="TBcontents" runat="server" Height="80px" Width="90%" TextMode="MultiLine"></asp:TextBox>
<span style="color: #ff0000">*</span></td>
</tr>
<tr>
<td style="width: 100%; height:30px; text-align: center;">
<asp:Button ID="Submit" runat="server" Text="提交" Width="100px" OnClick="Submit_Click" /></td>
</tr>
</table>
<br />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="管理" />
(Type in "51aspx")<a name="IwantToSay"/></div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -