Web/books/Index.aspx

(开头部分) 5KB

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

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Index.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">
</asp:DropDownList><strong> 图书名称:</strong><asp:TextBox ID="txt_bname" runat="server" width="150"></asp:TextBox>

        <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" ></asp:Button>   <a href="Add.aspx">【添加图书】</a>
        </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">
        <RowStyle Height="25px" HorizontalAlign="Center" />
        <Columns>       
                <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                    <ItemTemplate>
                        <asp:CheckBox ID="DeleteThis"  runat="server" />
                    </ItemTemplate>
                    <ItemStyle Width="30px" />
                </asp:TemplateField> 
            <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>
后面还有 42 行代码,购买后查看完整代码

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

AI 解读 AI

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

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