book.aspx
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="book.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing="0" style="width: 800px; height: 172px">
<tr>
<td colspan="3" rowspan="1" style="height: 27px; text-align: right">
<asp:Label ID="Label1" runat="server" Text="查找书籍:" Width="80px"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>名称</asp:ListItem>
<asp:ListItem>作者</asp:ListItem>
<asp:ListItem>出版社</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="查找" Width="77px" />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加书籍" Width="89px" /></td>
</tr>
<tr>
<td colspan="3" rowspan="1" style="height: 10px">
</td>
</tr>
<tr>
<td rowspan="2" colspan="3" style="vertical-align: middle; text-align: center; height: 210px;">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
OnPageIndexChanging="GridView1_PageIndexChanging1" OnRowDeleting="GridView1_RowDeleting1" PageSize="5" Width="100%" Height="183px" DataKeyNames="bookID" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
<Columns>
<asp:TemplateField HeaderText="书籍编号">
<ItemTemplate>
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing="0" style="width: 1px; height: 21px">
<tr>
<td style="width: 115px">
<asp:Label ID="Label7" runat="server" Height="19px" Text='<%# Eval("bookID") %>'
Width="46px"></asp:Label></td>
</tr>
</table>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="类型编号">
<ItemTemplate>
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing="0" style="width: 49px; height: 11px">
<tr>
<td colspan="2" style="height: 21px; text-align: center; width: 194px;">
<asp:Label ID="Label2" runat="server" Text='<%# Eval("typeID") %>' Width="52px"></asp:Label></td>
</tr>
</table>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="书籍名称">
<ItemTemplate>
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing="0" style="width: 1px; height: 3px">
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("bookName") %>' Height="19px" Width="106px"></asp:Label></td>
</tr>
</table>
后面还有 72 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
