Category.aspx
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Category.aspx.cs" Inherits="Category" StylesheetTheme="ASPNETAjaxWeb" %>
<!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>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" />
<table class="Table" border="0" cellpadding="5" cellspacing="0">
<tr>
<td colspan="2">
<asp:UpdatePanel runat="server" ID="up">
<ContentTemplate>
<asp:DataList ID="dlPhoto" runat="server" Width="100%" SkinID="dlSkin" HorizontalAlign="Center" RepeatColumns="4" RepeatDirection="Horizontal" GridLines="Both" ShowFooter="False" ShowHeader="False">
<ItemTemplate>
<table class="Table" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>
<a href='ShowPhoto.aspx?CategoryID=<%# Eval("CategoryID") %>&PhotoID=<%# Eval("ID") %>' target="right"><img alt='<%# Eval("Title") %>' src='<%# Eval("Url") %>' border="0" width="200" height="160" /></a>
</td>
</tr>
<tr>
<td align="center">
<a href='ShowPhoto.aspx?CategoryID=<%# Eval("CategoryID") %>&PhotoID=<%# Eval("ID") %>' target="right"><%# Eval("Title") %></a>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#009DE9">
<tr>
<td height="40" align="center" valign="middle" bgcolor="#FFFFFF" class="Text">
<asp:Label ID="lbCurrentIndex" runat="server" CssClass="Text"></asp:Label>
<asp:ImageButton ID="ibtFirst" runat="server" ImageUrl="~/App_Themes/ASPNETAjaxWeb/Images/blfirst.gif" CommandName="first" OnCommand="Page_Command" CausesValidation="False" />
<asp:ImageButton ID="ibtPrev" runat="server" ImageUrl="~/App_Themes/ASPNETAjaxWeb/Images/blprev.gif" CommandName="prev" OnCommand="Page_Command" CausesValidation="False" />
<asp:ImageButton ID="ibtNext" runat="server" ImageUrl='~/App_Themes/ASPNETAjaxWeb/Images/blnext.gif' CommandName="next" OnCommand="Page_Command" CausesValidation="False" />
<asp:ImageButton ID="ibtLast" runat="server" ImageUrl="~/App_Themes/ASPNETAjaxWeb/Images/bltail.gif" CommandName="last" OnCommand="Page_Command" CausesValidation="False" />
转移到<asp:TextBox ID="tbMove" runat="server" Width="30px" CssClass="TextBox" SkinID="tbSkin">1</asp:TextBox>页<asp:RangeValidator ID="rvPage" runat="server" ControlToValidate="tbMove"
Display="Dynamic" ErrorMessage="页码输入错误" MinimumValue="1" Type="Integer" MaximumValue="10000"></asp:RangeValidator><asp:RequiredFieldValidator ID="rfPage" runat="server" ControlToValidate="tbMove"
Display="Dynamic" ErrorMessage="请输入页码"></asp:RequiredFieldValidator>
<asp:ImageButton ID="ibtMove" runat="server" CommandName="move" ImageUrl='~/App_Themes/ASPNETAjaxWeb/Images/bldo.gif' OnCommand="Page_Command" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td>
<br />
<asp:Button ID="btnAddPhoto" runat="server" Text="添加一张图片" SkinID="btnSkin"
OnClick="btnAddPhoto_Click" BackColor="#CCFFFF" ForeColor="Black"
Height="19px" /> <asp:Button ID="btnAddPhotoes" runat="server"
Text="添加多张图片" SkinID="btnSkin" OnClick="btnAddPhotoes_Click"
BackColor="#CCFFFF" ForeColor="Black" Height="19px" /> <asp:Button
ID="btnPlayPhotoes" runat="server" Text="播放图片" SkinID="btnSkin"
后面还有 14 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。