📄 novel.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="novel.aspx.cs" Inherits="manage_novel" %>
<%@ Register Src="link.ascx" TagName="link" TagPrefix="uc1" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div style="text-align:center; width:900px;">
<uc1:link ID="Link1" runat="server" />
<div style="width:100%;">
<div style="text-align:left; width:50%; float:left;"> </div>
<div style="text-align:right; width:50%; float:left;">
<asp:DropDownList ID="List_Type" runat="server" AutoPostBack="True" OnSelectedIndexChanged="List_Type_SelectedIndexChanged" Width="100">
<asp:ListItem Value="1">玄幻奇幻</asp:ListItem>
<asp:ListItem Value="2">武侠仙侠</asp:ListItem>
<asp:ListItem Value="3">浪漫言情</asp:ListItem>
<asp:ListItem Value="4">现代都市</asp:ListItem>
<asp:ListItem Value="5">历史</asp:ListItem>
<asp:ListItem Value="6">军事</asp:ListItem>
<asp:ListItem Value="7">游戏</asp:ListItem>
<asp:ListItem Value="8">竞技</asp:ListItem>
<asp:ListItem Value="9">科幻</asp:ListItem>
<asp:ListItem Value="10">灵异</asp:ListItem>
<asp:ListItem Value="11">美文</asp:ListItem>
<asp:ListItem Value="12">同人</asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div style="width:100%;">
<asp:GridView ID="View_Note" runat="server" AutoGenerateColumns="False" Width="100%" RowStyle-Height="20">
<Columns>
<asp:HyperLinkField DataNavigateUrlFields="iscommend" Text="推荐" HeaderText="推荐" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Center" />
<asp:HyperLinkField DataNavigateUrlFields="link" DataTextField="title" ItemStyle-HorizontalAlign="Left" HeaderText="标题" ItemStyle-Width="40%" Target="_blank" HeaderStyle-HorizontalAlign="Left" />
<asp:BoundField DataField="hits" ItemStyle-HorizontalAlign="Center" HeaderText="点击" ItemStyle-Width="5%" />
<asp:BoundField DataField="addtime" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="10%" HeaderText="收录时间" />
<asp:BoundField DataField="updatetime" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15%" HeaderText="最后更新" />
<asp:CheckBoxField DataField="hidden" InsertVisible="true" ReadOnly="false" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" HeaderText="隐藏" />
<asp:HyperLinkField DataNavigateUrlFields="ishidden" Text="<span style=color:red;>取反</span>" ItemStyle-HorizontalAlign="Center" HeaderText="隐藏" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Center" />
</Columns>
</asp:GridView>
</div>
<table width="100%">
<tr>
<td style="width:30%; height: 27px; text-align:left;">
<asp:Label ID="Label_Detail" runat="server"></asp:Label></td>
<td style="width:35%; height: 27px;">
<asp:TextBox ID="Text_CurrentPage" runat="server" BorderWidth="0px" Height="0px" Width="0px">1</asp:TextBox>
<asp:TextBox ID="Text_PageCount" runat="server" BorderWidth="0px" Height="0px" Width="0px">-1</asp:TextBox>
</td>
<td style="width:20%; height: 27px;" align="right" valign="baseline">
<asp:LinkButton ID="Button_First" runat="server" OnClick="LinkButton_First_Click">首页</asp:LinkButton>
<asp:LinkButton ID="Button_Front" runat="server" OnClick="LinkButton_Front_Click">上一页</asp:LinkButton>
<asp:LinkButton ID="Button_Next" runat="server" OnClick="LinkButton_Next_Click">下一页</asp:LinkButton>
<asp:LinkButton ID="Button_Last" runat="server" OnClick="LinkButton_Last_Click">末页</asp:LinkButton>
</td>
<td style="width:15%; height: 27px;" align="right" valign="middle">
跳转:
<asp:TextBox ID="Text_Jump" runat="server" Width="20px"></asp:TextBox>
<asp:Button ID="Button_Jump" runat="server" Text="转到" OnClick="Button_Jump_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -