⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sql.aspx

📁 小说网(c#)版源程序,学习还是不错滴,大家可以下载下来看看.
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sql.aspx.cs" Inherits="sql" %>

<%@ Register Src="pagetop.ascx" TagName="pagetop" TagPrefix="uc1" %>
<%@ Register Src="pagebelow.ascx" TagName="pagebelow" TagPrefix="uc2" %>

<!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>
    <meta name="author" content="Qiezi" />
    <meta name="description" content="本站含玄幻、奇幻、武侠、仙侠、都市、言情、历史、军事、游戏、竞技、科幻和灵异小说,全部小说免费,支持cookie书库和全文阅读!" />
    <meta name="keywords" content="玄幻,奇幻,武侠,仙侠,都市,言情,历史,军事,游戏,竞技,科幻,灵异,小说" />
    <meta name="robots" content="all" />
    <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="width:940px; background-color:White;">
        <uc1:pagetop ID="Pagetop1" runat="server" />
        <div class="div_list" style="width:900px; border:red 1px solid; text-align:left;">
            <div class="div_navigation" style="text-align:center;">
                <div class="div_valign">
                    <div style="float:left; width:100px;">类型</div>
                    <div style="float:left; width:150px;">书名</div>
                    <div style="float:left; width:320px;">最新章节</div>
                    <div style="float:left; width:80px;">更新时间</div>
                    <div style="float:left; width:120px;">作者</div>
                    <div style="float:left; width:50px; text-align:left;">状态</div>
                    <div style="float:left; width:30px;">管理</div>
                </div>
            </div>
            <asp:DataList ID="List_Sql" runat="server" ItemStyle-Height="20" RepeatLayout="Flow">
            <ItemTemplate>
            <div style="width:900px; text-align:left;">
            <div style="float:left; width:100px;color:#CC3300; text-align:center;">[<%# DataBinder.Eval(Container.DataItem, "name")%>]</div>
            <div style="float:left; width:160px;"><a href="novelintro.aspx?topicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>" style="color:#004D00;" target="_blank"><%# DataBinder.Eval(Container.DataItem, "title")%></a></div>
            <div style="float:left; width:320px;"><a href="viewchapter.aspx?topicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>&chapterid=<%# DataBinder.Eval(Container.DataItem,"newchapter").ToString().Split('|')[1]%>" style="color:Gray;" target="_blank"><%# DataBinder.Eval(Container.DataItem,"newchapter").ToString().Split('|')[0]%></a></div>
            <div style="float:left; width:80px;"><%# DataBinder.Eval(Container.DataItem,"updatetime").ToString().Split(' ')[0]%></div>
            <div style="float:left; width:100px; color:Black; margin-top:1px;"><%# DataBinder.Eval(Container.DataItem,"author")%></div>
            <div style="float:left; width:65px;"><%# (bool)DataBinder.Eval(Container.DataItem,"isfinish")?"完成":"连载中"%></div>
            <div style="float:left; width:30px;"><a href="sql.aspx?deltopicid=<%# DataBinder.Eval(Container.DataItem,"topicid")%>" style="color:Red;">删除</a></div>
            </div>
            </ItemTemplate>
            </asp:DataList>
        </div>
        <uc2:pagebelow ID="Pagebelow1" runat="server" />
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -