Web/books/Index3.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Index3.aspx.cs" Inherits="books_Index" Title="" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <div align="center">
            <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" id="Table1">
                <tbody><tr>
                    <td class="TableBody1" valign="top">
                        <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
                            <tbody><tr>
                                <td bgcolor="#F5F9FF">
                                    <table bordercolordark="#D3D8E0" cellpadding="5" width="100%" bordercolorlight="#4F7FC9" border="1" cellspacing="0">
                                        <tbody><tr>
                                            <td height="25" bgcolor="#E3EFFF" align="center">
                                                <b>新书推荐</b></td>
                                        </tr>
                                        <tr>
                                            <td height="22" valign="middle">
                                             <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
    <tr>
        <td align="center" class="tdbg">
            <strong> 图书类别</strong><asp:DropDownList ID="ddltid" runat="server" Width="150" AutoPostBack="True" OnSelectedIndexChanged="ddltid_SelectedIndexChanged">
</asp:DropDownList>

<strong> 所属类别</strong><asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
                <asp:ListItem Selected="True" Value=" addtime desc ">新入库图书</asp:ListItem>
                <asp:ListItem Value=" pubdate desc ">新出版图书</asp:ListItem>
            </asp:RadioButtonList>

        </td>
    </tr>
</table>
                                             
                                            </td>
                                        </tr>
                                    </tbody></table>
                                </td>
                            </tr>
                          
                            <tr>
                                <td bgcolor="#F5F9FF">
                                    <table cellspacing="0" cellpadding="4" align="Center" rules="all" border="1" id="DataGrid1" style="border-color:#4F7FC9;border-width:1px;border-style:solid;width:100%;border-collapse:collapse;">
	<tbody><tr align="center" >
<td >
   <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="bno" Width="100%"  AllowPaging="True" GridLines="None"  onpageindexchanging="GridView1_PageIndexChanging" EnableModelValidation="True">
        <RowStyle Height="25px" HorizontalAlign="Center" />
        <Columns>       
                 
            <asp:BoundField HeaderText="ISBN编号" DataField="bno" />
            <asp:BoundField HeaderText="图书名称" DataField="bname" />
            <asp:BoundField HeaderText="所属类别" DataField="tname" />
            <asp:BoundField HeaderText="图书作者" DataField="author" />
            <asp:TemplateField HeaderText="图书封面">
            <ItemTemplate>
            <img alt="" src="../uploads/<%#Eval("pic")%>" width="70"  height="80" />
            </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="出版时间" DataField="pubdate" />
后面还有 28 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。