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

📄 photoalbum.ascx

📁 PhotoAlbum 个人相册网上管理简单系统`````````
💻 ASCX
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PhotoAlbum.ascx.cs" Inherits="PhotoAlbum" %>
<div style="margin:auto;">
<asp:DataList ID="DataList1" runat="server" RepeatColumns="4" Width="100%">
            <ItemTemplate><div style="width:160px;margin:auto;height:120px;border:1px solid gray;">
            <div>
            <a href="<%#Eval("NormalPhoto")%>" target="_blank"><img style="margin:auto;border:none;padding:5px 5px 5px 5px;" src="<%#Eval("SmallPhoto")%>"  /> </a>
            </div>
        </div>
        
        <div style="color:Gray;text-align:center;height:20px;"><%#Eval("Name") %></div>
        </ItemTemplate>
</asp:DataList>
<div style="margin:auto;height:20px;padding:0px;text-align:right;padding:0px;">
<br />
<asp:LinkButton ID="lbnPrevPage" runat="server" CommandName="prev" OnCommand="Page_OnClick">上一页</asp:LinkButton>
<asp:Label ID="lbCurrentPage" runat="server" Text=""></asp:Label>
&nbsp;&nbsp;<asp:Label ID="lbTotal" runat="server" Text=""></asp:Label>
<asp:LinkButton ID="lbnNextPage" runat="server" CommandName="next" OnCommand="Page_OnClick">下一页</asp:LinkButton>
&nbsp;&nbsp;跳转至第<asp:DropDownList ID="lstPage" runat="server" OnSelectedIndexChanged="lstPage_SelectedIndexChanged1" AutoPostBack="True">
    </asp:DropDownList>页&nbsp;
</div>
</div>

⌨️ 快捷键说明

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