note.aspx
来自「ajax 三层软件开发实例,三层软件开发实例」· ASPX 代码 · 共 36 行
ASPX
36 行
<%@ Page Language="C#" MasterPageFile="~/UI/MasterPage.master" AutoEventWireup="true" CodeFile="note.aspx.cs" Inherits="UI_note" Title="Untitled Page" Theme="default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager id="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:Label ID="Label1" runat="server" Text="最近日志" Width="100%"></asp:Label>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate >
<div id="content" style="width:556px;height:120px;">
<div id="topDate" style ="width:100%;height:12px;margin-top:5px;float:left ;">日期</div>
<div id="picContainer" style="width:95px;height:90%;float:left ;">
<div id="pic" style="width:65px;height:65px;margin-left:5px;margin-top:15px;float:left; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<div style="width:55px;height:55px;margin:5px;"><asp:Image ID="imgPic" runat="server" Width="55px" height="55px" ImageUrl='<%#Eval("pic")%>' /></div>
</div>
</div>
<div id="textArea" style="width:456px;height:90%;float:left ; text-align: right;">
<div style="width:456px;height:78%;float:left ;text-align:left ;padding-top:10px;"><asp:Label ID="lblTextArea" runat="server" Text='<%#Eval("content") %>' Style="text-align: left;"></asp:Label></div>
<asp:ImageButton ID="ibtnView" runat="server" ImageUrl="../App_Themes/Default/images/view.jpg" />
</div>
<div id="line" style="width:100%;height:3px;">
<hr />
</div>
</div>
</ItemTemplate>
</asp:Repeater>
<div id="page" style="width:556px; text-align: right;">
<asp:ImageButton ID="ibtnPrev" runat="server" SkinID ="prev" />
<asp:ImageButton ID="ibtnNext" runat="server" SkinID="next" /></div>
</contenttemplate>
</asp:UpdatePanel>
</asp:Content>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?