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

📄 booklist.aspx

📁 2007年华中科技大学数据库课程设计参考程序[图书销售系统]+报告
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="booklist.aspx.cs" Inherits="ljian_admin_book_booklist" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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>
    <link href="../../../ljian/admin/style/style_main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server"><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div style="margin: 10px 0px 0px 10px; background-color: #EEFBFF; border: solid 1px #E3E3E3;
            padding: 10px 0px 4px 0px; text-align: left">
            <span style="color: Green; font-weight: bold; font-size: 16px; padding-left:10px">缩小搜索范围:
            </span>
            <br />
            <div class="desearch" style="height: 30px; margin-top: 5px;padding-left:10px">
                书 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:&nbsp;
                <asp:TextBox ID="bookname" runat="server" Height="14px" Width="194px"></asp:TextBox>
                &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 作 者:&nbsp;
                <asp:TextBox ID="zuozhe" runat="server" Height="14px" Width="60px"></asp:TextBox>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;出版社:
                <asp:DropDownList ID="chubanshe" runat="server" Font-Size="12px">
                </asp:DropDownList><br />
            </div>
            <asp:UpdatePanel runat="server" ID="searchup12">
                <ContentTemplate>
                    <div class="desearch" style="height: 30px;padding-left:10px">
                        出版时间: &nbsp;&nbsp;
                        <asp:TextBox ID="pmin" runat="server" Width="79px" Height="14px"></asp:TextBox>
                        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" CssClass="MyCalendar"
                            Format="yyyy-MM-dd" TargetControlID="pmin">
                        </cc1:CalendarExtender>
                        &nbsp; 至 &nbsp;<asp:TextBox ID="pmax" runat="server" Width="79px" Height="14px"></asp:TextBox><cc1:CalendarExtender
                            ID="CalendarExtender2" runat="server" CssClass="MyCalendar" Format="yyyy-MM-dd"
                            TargetControlID="pmax">
                        </cc1:CalendarExtender>
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;价 格: &nbsp;<asp:TextBox
                            ID="jiagemin" runat="server" Width="60px" Height="14px"></asp:TextBox>
                        &nbsp; 至 &nbsp;<asp:TextBox ID="jiagemax" runat="server" Width="60px" Height="14px"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;S&nbsp;B&nbsp;N:&nbsp;<asp:TextBox
                            ID="isbn" runat="server" Width="128px" Height="14px"></asp:TextBox><br />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div class="desearch" style ="padding-left:10px">
                <asp:UpdatePanel runat="server" ID="searchup2">
                    <ContentTemplate>
                        类 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别: &nbsp;
                        <asp:DropDownList ID="class1" runat="server" Width="97px" Font-Size="12px">
                        </asp:DropDownList>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
      
                        <asp:LinkButton Width="100px" OnClick="LinkButton1_Click" CssClass="act"  ID="LinkButton1"
                            runat="server">开始搜索</asp:LinkButton></ContentTemplate>
                </asp:UpdatePanel>
                <asp:UpdateProgress runat="server" ID="up" AssociatedUpdatePanelID="searchup2">
                    <ProgressTemplate>
                        <div id="duquzhong" style="text-align: center; position: absolute; bottom: 350px;
                            left: 50%; width: 220px; padding: 10px 0px 10px 0px; border: 1px solid #ACC1E8;
                            background-color: #ECF2FD; font-size: 16px">
                            <img src="../images/loading.gif" alt="读取中..." />正在读取,请稍后...</div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
        </div>
        <asp:UpdatePanel runat="server" ID="contentlist">
            <ContentTemplate>
                <asp:Repeater runat="server" ID="rep"><ItemTemplate>
                <div style="padding-right: 0px; padding-left: 0px; min-height: 90px; padding-bottom: 15px;
                    margin: 10px 0px 10px 18px; padding-top: 15px; border-bottom: #cccccc 1px dotted;
                    text-align: left" id="blist">
                    <a href="modifybook.aspx?bookid=<%#Eval("Id") %>">
                        <img style="float: left; margin-right: 10px" border ="0" height="120" src="../pic/wu.jpg"
                            width="80" /></a> <span style="font-size: 14px"><a style="color: #0066ff" href="modifybook.aspx?bookid=<%#Eval("Id") %>">
                                <%#Eval("Bookname")%>
                            </a>
                                <br />
                            </span><span style="font-size: 12px; line-height: 30px">作者:<span style="color: #cc6600"><%#Eval("Author")%></span>
                                著 出版社:<span style="color: #cc6600"><%#Eval("Bookconcernname")%></span> 出版时间:<span
                                    style="color: #cc6600"><%#Eval("Publishtime").ToString().Replace(" 0:00:00","")%></span><br />
                            </span><span style="line-height: 20px; text-align: left">
                                <%#Eval("Summary").ToString ().Length > 300 ? Eval("Summary").ToString ().Substring(0, 300) + "..." : Eval("Summary")%>
                                <br />
                            </span>
                    <div style="margin-right: 50px; text-align: right">
                        <br />
                        <asp:LinkButton runat="server" ID="delete" OnClientClick="javascript:if(confirm('确定删除该图书吗?'))  return true;else return false;" CssClass ="act" ToolTip ='<%#Eval("Id") %>'>删除</asp:LinkButton>
                       <%-- <span style="width: 30px" class="act"><a href="#">我想读</a></span>--%>
                    </div>
                </div>
              </ItemTemplate></asp:Repeater>
                <div style="text-align: right">
                    <asp:Label ID="ye" runat="server" Text=""></asp:Label>
                    <asp:LinkButton ID="shouye" OnClick="shouye_Click" runat="server" CausesValidation="False">首页</asp:LinkButton>
                    <asp:LinkButton ID="shang" OnClick="shang_Click" runat="server" CausesValidation="False">上一页</asp:LinkButton>
                    <asp:LinkButton ID="xia" OnClick="xia_Click" runat="server" CausesValidation="False">下一页</asp:LinkButton>
                    <asp:LinkButton ID="weiye" OnClick="weiye_Click" runat="server" CausesValidation="False">尾页</asp:LinkButton>
                    <asp:Label ID="yeci" runat="server"></asp:Label>
                    &nbsp;&nbsp;跳转到:&nbsp;<asp:TextBox ID="jiye" runat="server" Width="20px" Height="12px"></asp:TextBox>
                    <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="jiye"
                        FilterType="Numbers">
                    </cc1:FilteredTextBoxExtender>
                    <asp:LinkButton ID="go" OnClick="go_Click" runat="server" CausesValidation="False">GO</asp:LinkButton></div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="LinkButton1" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
    </form>
</body>
</html>

⌨️ 快捷键说明

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