📄 note.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="note.aspx.cs" Inherits="users_note" %>
<!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>
<form id="form1" runat="server">
<div>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="900";">
<tr>
<td align="center" style="height: 45px; width: 838px;"><img src="image/top.jpg" id="IMG1" onclick="return IMG1_onclick() " height="100" alt="luolili" style="width: 866px"/>
</td>
</tr>
</table>
<table>
<tr>
<td style="height: 24px; width: 839px;">
<a href="index.aspx"><font color=green><b>首页</b></font></a>
<asp:Label ID="label3" runat="server"><a href="sto.aspx"><font color=green><b>购物车</b></font></a></asp:Label>
<asp:Label ID="label4" runat="server"><a href="shoucang.aspx"><font color=green><b>我的收藏夹</b></font></a></asp:Label>
<asp:Label ID="label5" runat="server"><a href="petnews.aspx"><font color=green><b>宠物新闻</b></font></a></asp:Label>
<asp:Label ID="label6" runat="server"><a href=note.aspx><font color=green><b>留言板</b></font></a></asp:Label>
<asp:Label ID="label7" runat="server"><a href=index.aspx><font color=green><b>关于我们</b></font></a></asp:Label>
<asp:Label ID="label8" runat="server"><a href="../login.aspx"><font color=green><b>后台管理</b></font></a></asp:Label>
</td>
</tr>
</table>
</center>
<center>
<table>
<tr>
<td style="width: 49px; height: 25px" align="right">
<asp:Image ID="Image1" runat="server" Height="40px" ImageUrl="image/QQ啊啊1.jpg"
Width="37px" /></td>
<td style="width: 761px; height: 25px" align="left">
<font size=4> 欢迎进入留言板</font>
</td>
</tr>
</table>
</center>
<center>
</center>
<center>
<a href="#ask"><asp:Button ID="Button1" runat="server" Text="发表新话题" Width="87px"/></a>
</center>
</div>
<center>
<asp:GridView ID="GridView1" runat="server" Height="279px" Width="810px" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False">
<Columns>
<asp:TemplateField HeaderText="标题">
<ItemTemplate>
<table>
<tr>
<td>
#<a href='notecontent.aspx?id=<%#DataBinder.Eval(Container.DataItem,"askid")%>'><%#DataBinder.Eval(Container.DataItem,"asktitle")%></a>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="发表时间">
<ItemTemplate>
<table>
<tr>
<td>
*<asp:Label ID="Price" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"asktime")%>'></asp:Label>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<table style="width: 800px; height: 109px">
<tr>
<td style="width: 1155px; height: 31px" align="left">
<a name="ask"> 标题:<asp:TextBox ID="TextBox1" runat="server" Width="376px"></asp:TextBox></a></td>
</tr>
<tr>
<td style="width: 1155px; height: 169px" align="left" valign="top">
正文:
<br><asp:TextBox ID="TextBox2" runat="server" Height="156px" Width="779px"></asp:TextBox><br />
<br />
<asp:Button
ID="Button2" runat="server" Text="提交" OnClick="Button2_Click" Width="61px" />
<asp:Button ID="Button3" runat="server" Text="重置" OnClick="Button3_Click" Width="68px" /></td>
</tr>
</table>
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -